mirror of https://github.com/docker/docs.git
Merge pull request #1181 from sardjv/patch-2
redeploying should not use existing volume
This commit is contained in:
commit
74e52a5f16
|
@ -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.
|
||||
|
||||
```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".
|
||||
|
|
Loading…
Reference in New Issue