moby--moby/contrib
Aaron Lehmann c9fdf9abf8 Add force option to service update
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>
2016-10-21 17:43:27 -07:00
..
apparmor apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
builder Merge pull request #27327 from flixr/deb_armhf_ubuntu-trusty_buildtags 2016-10-20 09:52:43 -07:00
completion Add force option to service update 2016-10-21 17:43:27 -07:00
desktop-integration
docker-device-tool Add docs about how to extend devicemapper thin pool 2016-04-20 10:49:51 +08:00
gitdm Add gitdm configuration 2016-05-28 21:08:20 -07:00
httpserver
init Change TMPDIR to DOCKER_TMPDIR 2016-08-23 08:45:46 +05:30
mkimage Update contrib/mkimage/debootstrap to account for Debian LTS changes 2016-05-04 08:39:45 -07:00
nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
reprepro add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
selinux/docker-engine-selinux Add selinux policy per distro 2016-08-04 14:29:22 -07:00
selinux-fedora-24/docker-engine-selinux Add selinux policy per distro 2016-08-04 14:29:22 -07:00
selinux-oraclelinux-7/docker-engine-selinux Add Oracle Linux distro specific selinux policy 2016-08-10 13:33:56 -07:00
syntax Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
syscall-test Add a test that the default seccomp profile allows execution of 32 bit binaries 2016-07-27 18:42:34 +01:00
udev
vagrant-docker Remove LXC support. 2015-11-05 17:09:57 -05:00
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
REVIEWERS
check-config.sh Update required modules for overlay dataplane encryption 2016-10-11 14:06:55 -07:00
dockerize-disk.sh Fix dockerize-disk.sh working in non-en locale 2015-07-02 16:08:12 -07:00
download-frozen-image-v1.sh update download-frozen-image.sh to v2 registry 2015-12-01 13:16:42 -08:00
download-frozen-image-v2.sh request a new token before downloading each layer 2016-02-14 16:56:07 +08:00
editorconfig added editorconfig 2016-10-20 22:18:16 -02:00
mac-install-bundle.sh Add a script to install a bundle into Docker for Mac 2016-10-05 13:21:18 +02:00
mkimage-alpine.sh Additional repo and container cleanup 2015-12-28 14:11:56 +01:00
mkimage-arch-pacman.conf
mkimage-arch.sh Changed to 1800 second timeout for all ARMV* 2016-07-10 18:47:14 -07:00
mkimage-archarm-pacman.conf Fixed arm arch image maker to support arm versions other than 7 2016-07-10 18:46:35 -07:00
mkimage-busybox.sh
mkimage-crux.sh
mkimage-debootstrap.sh
mkimage-pld.sh add script to make base image for PLD Linux 2016-05-31 09:20:51 +03:00
mkimage-rinse.sh
mkimage-yum.sh Add errexit to mkimage-yum.sh 2016-09-14 12:04:04 +02:00
mkimage.sh Updated usage information because of removed short parameters. 2015-07-16 10:44:58 +02:00
nuke-graph-directory.sh nuke-graph-directory.sh: Improve subvolume search 2016-08-08 13:00:21 -04:00
project-stats.sh
report-issue.sh add execute bit to contrib/report-issue.sh 2016-02-16 12:55:15 +02:00

README.md

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.