Merge pull request #592 from xianlubird/master

Update reschedule on node fail
This commit is contained in:
Misty Stanley-Jones 2016-11-18 13:54:03 -08:00 committed by GitHub
commit 9b67312f10
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:
```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: