Remote API v1.23 (Engine)
Docker Remote API v1.23
1. Brief introduction
- The Remote API has replaced
rcli
. - The daemon listens on
unix:///var/run/docker.sock
but you can Bind Docker to another host/port or a Unix socket. - The API tends to be REST. However, for some complex commands, like
attach
orpull
, the HTTP connection is hijacked to transportstdout
,stdin
andstderr
. - When the client API version is newer than the daemon’s, these calls return an HTTP
400 Bad Request
error message.
2. Endpoints
2.1 Containers
List containers
GET /containers/json
List conta