1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference/commandline
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
..
attach.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
build.md docs: add code-hints to builder page 2016-07-20 16:18:44 +02:00
cli.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
commit.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
cp.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
create.md Improve flag help consistency, and update docs 2016-07-16 01:58:01 +02:00
deploy.md Append --registry-auth with with 2016-07-22 10:38:56 +02:00
diff.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
docker_images.gif retooling for hugo 2015-06-15 13:19:38 -07:00
dockerd.md Split advertised address from listen address 2016-07-24 09:23:07 -07:00
events.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
exec.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
export.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
history.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
images.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
import.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
index.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
info.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
inspect.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
kill.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
load.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
login.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
logout.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
logs.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
menu.md add menu.md, make index.md command line reference, update typos/minor errors in cli docs 2016-06-30 14:30:11 -07:00
network_connect.md Rename --net to --network 2016-07-12 13:01:35 -07:00
network_create.md better command docker network create -h output 2016-07-16 15:32:17 +08:00
network_disconnect.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
network_inspect.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
network_ls.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
network_rm.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
node_demote.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
node_inspect.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
node_ls.md Remove "secrets" leftovers from docs 2016-07-23 01:28:20 +02:00
node_promote.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
node_rm.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
node_tasks.md Remove shorthand flags for "mount", "pretty", and "no-resolve" 2016-07-13 18:47:29 +02:00
node_update.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
pause.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
plugin_disable.md docs: update reference docs for plugins 2016-07-20 23:37:55 +02:00
plugin_enable.md docs: update reference docs for plugins 2016-07-20 23:37:55 +02:00
plugin_inspect.md docs: update reference docs for plugins 2016-07-20 23:37:55 +02:00
plugin_install.md docs: update reference docs for plugins 2016-07-20 23:37:55 +02:00
plugin_ls.md docs: update reference docs for plugins 2016-07-20 23:37:55 +02:00
plugin_rm.md docs: fix copy/pasta error 2016-07-20 23:59:38 +02:00
port.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
ps.md docs: improve formatting and highlighting of docker ps reference 2016-07-21 12:27:39 +02:00
pull.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
push.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
rename.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
restart.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
rm.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
rmi.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
run.md Improve flag help consistency, and update docs 2016-07-16 01:58:01 +02:00
save.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
search.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
service_create.md Add failure action for rolling updates 2016-07-25 08:51:19 -07:00
service_inspect.md Update service inspect --pretty reference docs 2016-07-14 11:23:03 +02:00
service_ls.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
service_rm.md Add the advisory=rc metadata 2016-06-20 11:54:53 +00:00
service_scale.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
service_tasks.md Remove shorthand flags for "mount", "pretty", and "no-resolve" 2016-07-13 18:47:29 +02:00
service_update.md Add failure action for rolling updates 2016-07-25 08:51:19 -07:00
stack_config.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_deploy.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_rm.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_services.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
stack_tasks.md docs: add initial reference for "stack services" 2016-07-20 18:56:49 +02:00
start.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
stats.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
stop.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
swarm_init.md Require listen address and advertise address to be an IP address or an interface name 2016-07-24 09:23:38 -07:00
swarm_join.md Require listen address and advertise address to be an IP address or an interface name 2016-07-24 09:23:38 -07:00
swarm_join_token.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
swarm_leave.md Replace secrets with join tokens 2016-07-21 15:23:03 -07:00
swarm_update.md Update swarm init task-history-limit docs 2016-07-24 11:13:06 +02:00
tag.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
top.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
unpause.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
update.md Soften limitation of update kernel memory 2016-07-12 08:07:24 +08:00
version.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
volume_create.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
volume_inspect.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
volume_ls.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
volume_rm.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00
wait.md Updates on cli reference documentation 2016-07-07 20:43:18 +02:00