docs/api/client
Aaron Lehmann a3639e6ac6 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>
(cherry picked from commit 57ae29aa74e77ade3c91b1c77ba766512dae9ab4)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:24:43 -07:00
..
bundlefile Add some tests for bundlefile and improve the error messages for LoadFile 2016-06-16 23:36:59 -07:00
container Fix high cpu usage caused by docker stats. 2016-07-25 23:18:16 -07:00
formatter Do not show empty tags for digest references in output 2016-06-16 23:36:57 -07:00
idresolver Update to new swarmkit/engine-api 2016-07-01 00:40:37 -07:00
image Updates on cli reference documentation 2016-07-08 15:33:27 -07:00
inspect remove fallback for Go 1.4 2016-06-07 22:38:02 +02:00
network Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
node service tasks: Improve error reporting 2016-07-25 23:18:29 -07:00
plugin Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
registry fix stdout and stderr in api client 2016-07-08 15:32:14 -07:00
service Add failure action for rolling updates 2016-07-25 23:24:43 -07:00
stack Append --registry-auth with with 2016-07-25 23:17:01 -07:00
swarm Require listen address and advertise address to be an IP address or an interface name 2016-07-25 23:18:12 -07:00
system Split advertised address from listen address 2016-07-25 23:18:03 -07:00
task service tasks: Improve error reporting 2016-07-25 23:18:29 -07:00
volume Dont run man generation as part of test-unit. 2016-07-25 23:15:42 -07:00
cli.go Windows: Always enable VT emulation 2016-07-25 23:15:25 -07:00
client.go Make sure docker api client implements engine-api client. 2016-01-07 21:02:19 -05:00
commands.go Migrate cp command to cobra 2016-06-14 17:16:59 +02:00
credentials.go Migrate login & logout command to cobra 2016-06-10 12:04:29 +02:00
exec.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
exec_test.go Update client code with api changes 2016-04-15 12:48:01 +02:00
hijack.go Fix logrus formatting 2016-06-11 13:16:55 -07:00
info.go Split advertised address from listen address 2016-07-25 23:18:03 -07:00
inspect.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
registry.go Adding a flag to specify sending of registry auth 2016-07-01 00:40:31 -07:00
trust.go Moving Image{Push,Pull}Privileged to trust.go 2016-06-10 12:07:32 +02:00
trust_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
update.go Un-deprecated command line short variant options of `-c`. 2016-05-26 08:22:27 -07:00
utils.go Fix misspell typos 2016-06-30 16:47:43 -07:00