mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add doc
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
parent
cf0076b92d
commit
3c422fe5bf
2 changed files with 25 additions and 0 deletions
|
@ -36,6 +36,11 @@ You can still call an old version of the api using
|
||||||
|
|
||||||
### What's new
|
### What's new
|
||||||
|
|
||||||
|
`GET /_ping`
|
||||||
|
|
||||||
|
**New!**
|
||||||
|
You can now ping the server via the `_ping` endpoint.
|
||||||
|
|
||||||
`GET /events`
|
`GET /events`
|
||||||
|
|
||||||
**New!**
|
**New!**
|
||||||
|
|
|
@ -1162,6 +1162,26 @@ Show the docker version information
|
||||||
- **200** – no error
|
- **200** – no error
|
||||||
- **500** – server error
|
- **500** – server error
|
||||||
|
|
||||||
|
### Ping the docker server
|
||||||
|
|
||||||
|
`GET /_ping`
|
||||||
|
|
||||||
|
Ping the docker server
|
||||||
|
|
||||||
|
**Example request**:
|
||||||
|
|
||||||
|
GET /_ping HTTP/1.1
|
||||||
|
|
||||||
|
**Example response**:
|
||||||
|
|
||||||
|
HTTP/1.1 200 OK
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
Status Codes:
|
||||||
|
|
||||||
|
- **200** - no error
|
||||||
|
|
||||||
### Create a new image from a container's changes
|
### Create a new image from a container's changes
|
||||||
|
|
||||||
`POST /commit`
|
`POST /commit`
|
||||||
|
|
Loading…
Add table
Reference in a new issue