Merge pull request #1181 from sardjv/patch-2

redeploying should not use existing volume
This commit is contained in:
LRubin 2017-01-25 11:41:57 -08:00 committed by GitHub
commit 74e52a5f16
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ If you `redeploy` the Redis service you created earlier, you'll see that the cou
Let's try that. First, redeploy the redis service to reset the counter. Let's try that. First, redeploy the redis service to reset the counter.
```bash ```bash
$ docker-cloud service redeploy redis $ docker-cloud service redeploy redis --not-reuse-volumes
``` ```
Check the container status using the `container ps` command, and wait until the new container is running again. In the example below you can see the original container in the "Terminated" state, and the new container that is "Starting". Check the container status using the `container ps` command, and wait until the new container is running again. In the example below you can see the original container in the "Terminated" state, and the new container that is "Starting".