moby--moby/contrib
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 57ae29aa74)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-25 23:24:43 -07:00
..
apparmor apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
builder bump Go to 1.6.3 2016-07-25 23:15:39 -07:00
completion Add failure action for rolling updates 2016-07-25 23:24:43 -07:00
desktop-integration
docker-device-tool Add docs about how to extend devicemapper thin pool 2016-04-20 10:49:51 +08:00
docker-engine-selinux Update the binary name in docker-engine-selinux/docker.fc. 2016-04-27 11:41:21 -04:00
gitdm Add gitdm configuration 2016-05-28 21:08:20 -07:00
httpserver
init Remove docker.socket from rpm based systems 2016-07-25 23:15:42 -07:00
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
syntax Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
syscall-test fix typos 2016-07-25 23:18:15 -07:00
udev
vagrant-docker
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
REVIEWERS
check-config.sh Add IPVLAN and DUMMY to check-config.sh 2016-07-25 23:13:48 -07:00
dockerize-disk.sh
download-frozen-image-v1.sh
download-frozen-image-v2.sh request a new token before downloading each layer 2016-02-14 16:56:07 +08:00
mkimage-alpine.sh
mkimage-arch-pacman.conf
mkimage-arch.sh
mkimage-archarm-pacman.conf
mkimage-busybox.sh
mkimage-crux.sh
mkimage-debootstrap.sh
mkimage-rinse.sh
mkimage-yum.sh
mkimage.sh
nuke-graph-directory.sh
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.