Fix the volume removal example

The example demonstrating how to remove the volumes associated with a container is probably supposed to be `docker rm -v` instead of `docker --rm -v`.
This commit is contained in:
jviide 2015-10-14 03:51:43 +03:00
parent e7617d1559
commit 0ddca9a34f

View file

@ -95,7 +95,7 @@ If you want to run and then interact with a container, `docker start`, then spaw
If you want a transient container, `docker run --rm` will remove the container after it stops.
If you want to remove also the volumes associated with the container, the deletion of the container must include the -v switch like in `docker --rm -v`.
If you want to remove also the volumes associated with the container, the deletion of the container must include the -v switch like in `docker rm -v`.
If you want to poke around in an image, `docker run -t -i <myimage> <myshell>` to open a tty.