mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-04 15:58:39 +00:00
Merge pull request #5569 from vieux/add__ping_to_the_API
Add ping to the api
This commit is contained in:
@@ -36,6 +36,11 @@ You can still call an old version of the api using
|
||||
|
||||
### What's new
|
||||
|
||||
`GET /_ping`
|
||||
|
||||
**New!**
|
||||
You can now ping the server via the `_ping` endpoint.
|
||||
|
||||
`GET /events`
|
||||
|
||||
**New!**
|
||||
|
||||
@@ -1162,6 +1162,27 @@ Show the docker version information
|
||||
- **200** – no 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
|
||||
- **500** - server error
|
||||
|
||||
### Create a new image from a container's changes
|
||||
|
||||
`POST /commit`
|
||||
|
||||
Reference in New Issue
Block a user