From 07143cea036ba3698d0e29926d54356be29cc1c1 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 16 Mar 2016 17:27:32 -0700 Subject: [PATCH] fix duplicate rescheduling.md Signed-off-by: Victor Vieux --- docs/rescheduling.md | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 docs/rescheduling.md diff --git a/docs/rescheduling.md b/docs/rescheduling.md deleted file mode 100644 index d54e554a9f..0000000000 --- a/docs/rescheduling.md +++ /dev/null @@ -1,41 +0,0 @@ - - -# Rescheduling - -The Docker Swarm scheduler is able to detect node failure and -restart its containers on another node. - -## Rescheduling policies - -The rescheduling policies are: - -* `on-node-failure` -* `off` (default if not specified) - - -When you start a container, use the env var `reschedule` or the -label `com.docker.swarm.reschedule-policy` to specify the policy to -apply to the container. - -``` -# do not reschedule (default) -$ docker run -d -e reschedule:off redis -# or -$ docker run -d -l 'com.docker.swarm.reschedule-policy=["off"]' redis -``` - -``` -# reschedule on node failure -$ docker run -d -e reschedule:on-node-failure redis -# or -$ docker run -d -l 'com.docker.swarm.reschedule-policy=["on-node-failure"]' redis -``` \ No newline at end of file