From 0ddca9a34f385c5861af28b44e439a1f40c0ee83 Mon Sep 17 00:00:00 2001 From: jviide Date: Wed, 14 Oct 2015 03:51:43 +0300 Subject: [PATCH] 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`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d77902c..1c2f069 100644 --- a/README.md +++ b/README.md @@ -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 ` to open a tty.