moby/docs/reference/api
Aaron Lehmann 57ae29aa74 Add failure action for rolling updates
This changes the default behavior so that rolling updates will not
proceed once an updated task fails to start, or stops running during the
update. Users can use docker service inspect --pretty servicename to see
the update status, and if it pauses due to a failure, it will explain
that the update is paused, and show the task ID that caused it to pause.
It also shows the time since the update started.

A new --update-on-failure=(pause|continue) flag selects the
behavior. Pause means the update stops once a task fails, continue means
the old behavior of continuing the update anyway.

In the future this will be extended with additional behaviors like
automatic rollback, and flags controlling parameters like how many tasks
need to fail for the update to stop proceeding. This is a minimal
solution for 1.12.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-07-25 08:51:19 -07: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 Creating Engine specific menu 2016-01-26 15:58:53 -08:00
docker_io_accounts_api.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
docker_remote_api.md Clarify API behavior when older versions are called. 2016-07-21 16:16:46 +08:00
docker_remote_api_v1.18.md Fix link errors in 'docs/reference/api/docker_remote_api_v***.md' 2016-07-19 02:53:03 +08:00
docker_remote_api_v1.19.md Fix link errors in 'docs/reference/api/docker_remote_api_v***.md' 2016-07-19 02:53:03 +08:00
docker_remote_api_v1.20.md Fix link errors in 'docs/reference/api/docker_remote_api_v***.md' 2016-07-19 02:53:03 +08:00
docker_remote_api_v1.21.md Fix link errors in 'docs/reference/api/docker_remote_api_v***.md' 2016-07-19 02:53:03 +08:00
docker_remote_api_v1.22.md Fix link errors in 'docs/reference/api/docker_remote_api_v***.md' 2016-07-19 02:53:03 +08:00
docker_remote_api_v1.23.md Fix link errors in 'docs/reference/api/docker_remote_api_v***.md' 2016-07-19 02:53:03 +08:00
docker_remote_api_v1.24.md Add failure action for rolling updates 2016-07-25 08:51:19 -07:00
docker_remote_api_v1.25.md Add failure action for rolling updates 2016-07-25 08:51:19 -07:00
hub_registry_spec.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
index.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
README.md Fixes found by docs validation tool 2015-11-23 11:19:38 +10:00
remote_api_client_libraries.md Remove status column from client libraries page 2016-05-31 16:12:14 -07:00

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