From 3f199ad9ad92f8ec45db210f4cc446295cac01c7 Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Fri, 5 Sep 2014 16:30:32 -0700 Subject: [PATCH] Update README.md ``` Warning: '-rm' is deprecated, it will be replaced by '--rm' soon. See usage. ``` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50dee1d..7651600 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ Some common misconceptions it's worth correcting: If you want to run and then interact with a container, `docker start` then `docker attach` to get in (or, as of 0.9, `nsenter`). -If you want a transient container, `docker run -rm` will remove the container after it stops. +If you want a transient container, `docker run --rm` will remove the container after it stops. If you want to poke around in an image, `docker run -t -i ` to open a tty. @@ -341,7 +341,7 @@ docker inspect -f '{{ .NetworkSettings.IPAddress }}' ### Get Environment Settings ``` -docker run -rm ubuntu env +docker run --rm ubuntu env ``` ### Delete old containers