moby/docs/reference/api
Stephen J Day 1d90d76048
api/server/httputils: service unavailable for disable swarm
When swarm-mode is disabled, we need to return an error indicating this.
406 was chosen for the "Not Acceptable" verbiage, but this code has
specific semantics in relation to the `Accept` header, which aren't
applicable here.

We now use a 503 for this case. While it is not a perfect match, it does
make it clear that the particular "service" (read: API endpoint) is not
available. The body of the message provides the user with enough
information to take action on it by enabling swarm-mode and ensuring the
service is available.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-17 11:43:45 -08:00
..
_static retooling for hugo 2015-06-15 13:19:38 -07:00
images Implemet docker update command 2015-12-28 19:19:26 +08:00
docker-io_api.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
docker_io_accounts_api.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
docker_remote_api.md Merge pull request #28322 from Microsoft/jjh/api1.26 2016-11-17 00:01:46 +01:00
docker_remote_api_v1.18.md Fix missing versions in example requests of api docs 2016-11-12 13:12:02 -08:00
docker_remote_api_v1.19.md Fix missing versions in example requests of api docs 2016-11-12 13:12:02 -08:00
docker_remote_api_v1.20.md Fix missing versions in example requests of api docs 2016-11-12 13:12:02 -08:00
docker_remote_api_v1.21.md Fix missing versions in example requests of api docs 2016-11-12 13:12:02 -08:00
docker_remote_api_v1.22.md Fix missing versions in example requests of api docs 2016-11-12 13:12:02 -08:00
docker_remote_api_v1.23.md Fix missing versions in example requests of api docs 2016-11-12 13:12:02 -08:00
docker_remote_api_v1.24.md Merge pull request #27631 from allencloud/get-node-brefore-update 2016-11-16 17:47:31 +01:00
docker_remote_api_v1.25.md api/server/httputils: service unavailable for disable swarm 2016-11-17 11:43:45 -08:00
docker_remote_api_v1.26.md Bump API to v1.26 2016-11-14 14:24:02 -08:00
hub_registry_spec.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
index.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
README.md Sync docker/docker refs with files mistakenly edited in docker.github.io repo 2016-10-20 10:51:30 -07:00
remote_api_client_libraries.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00

published
false

This directory holds the authoritative specifications of APIs defined and implemented by Docker. Currently this includes:

  • The remote API by which a docker node can be queried over HTTP
  • The registry API by which a docker node can download and upload images for storage and sharing
  • The index search API by which a docker node can search the public index for images to download
  • The docker.io OAuth and accounts API which 3rd party services can use to access account information