Update reschedule on node fail

Update reschedule on node fail
This commit is contained in:
Xianlu Bird 2016-11-16 15:40:53 +08:00 committed by GitHub
parent 089d9100fd
commit ebb924c362
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ container when a node fails.
To set the `on-node-failure` policy with a `reschedule` environment variable: To set the `on-node-failure` policy with a `reschedule` environment variable:
```bash ```bash
$ docker run -d -e "reschedule=on-node-failure" redis $ docker run -d -e "reschedule:on-node-failure" redis
``` ```
To set the same policy with a `com.docker.swarm.reschedule-policies` label: To set the same policy with a `com.docker.swarm.reschedule-policies` label: