From 345d1b609db617876e93e9f733f8aeba819ec1e1 Mon Sep 17 00:00:00 2001 From: Sam Cater Date: Sun, 30 Oct 2016 23:03:07 +0000 Subject: [PATCH] Update centos.md I've added in the '--rm' argument to the 'script method' and to the 'add your user to docker group' examples to match the first instruction. Purely a consistency thing, and so new users can appreciate not having a few hello-world containers spawned. Ta. --- engine/installation/linux/centos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/installation/linux/centos.md b/engine/installation/linux/centos.md index ecd2046459e..2d70f260001 100644 --- a/engine/installation/linux/centos.md +++ b/engine/installation/linux/centos.md @@ -154,7 +154,7 @@ learn how to [customize your Systemd Docker daemon options](../../admin/systemd. 6. Verify `docker` is installed correctly by running a test image in a container. ```bash - $ sudo docker run hello-world + $ sudo docker run --rm hello-world ``` If you need to add an HTTP Proxy, set a different directory or partition for the @@ -198,7 +198,7 @@ To create the `docker` group and add your user: 5. Verify that your user is in the docker group by running `docker` without `sudo`. ```bash - $ docker run hello-world + $ docker run --rm hello-world ``` ## Start the docker daemon at boot