c9fdf9abf8
Currently, there's no way to restart the tasks of a service without making an actual change to the service. This leads to us giving awkward workarounds as in https://github.com/docker/docker.github.io/pull/178/files, where we tell people to scale a service up and down to restore balance, or make unnecessary changes to trigger a restart. This change adds a --force option to "docker service update", which forces the service to be updated even if no changes require that. Since rolling update parameters are respected, the user can use "docker service --force" to do a rolling restart. For example, the following is supported: docker service update --force --update-parallelism 2 \ --update-delay 5s myservice Since the default value of --update-parallelism is 1, the default behavior is to restart the service one task at a time. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> |
||
---|---|---|
.. | ||
apparmor | ||
builder | ||
completion | ||
desktop-integration | ||
docker-device-tool | ||
gitdm | ||
httpserver | ||
init | ||
mkimage | ||
nnp-test | ||
reprepro | ||
selinux/docker-engine-selinux | ||
selinux-fedora-24/docker-engine-selinux | ||
selinux-oraclelinux-7/docker-engine-selinux | ||
syntax | ||
syscall-test | ||
udev | ||
vagrant-docker | ||
check-config.sh | ||
dockerize-disk.sh | ||
download-frozen-image-v1.sh | ||
download-frozen-image-v2.sh | ||
editorconfig | ||
mac-install-bundle.sh | ||
mkimage-alpine.sh | ||
mkimage-arch-pacman.conf | ||
mkimage-arch.sh | ||
mkimage-archarm-pacman.conf | ||
mkimage-busybox.sh | ||
mkimage-crux.sh | ||
mkimage-debootstrap.sh | ||
mkimage-pld.sh | ||
mkimage-rinse.sh | ||
mkimage-yum.sh | ||
mkimage.sh | ||
nuke-graph-directory.sh | ||
project-stats.sh | ||
README.md | ||
report-issue.sh | ||
REVIEWERS |
The contrib
directory contains scripts, images, and other helpful things
which are not part of the core docker distribution. Please note that they
could be out of date, since they do not receive the same attention as the
rest of the repository.