From 7c557017d8508df9fc2bec56e4886601c82bd041 Mon Sep 17 00:00:00 2001 From: James Deathe Date: Wed, 22 Oct 2014 11:51:56 +0100 Subject: [PATCH] Made example run command and single line including the commands to stop and remove any existing container of the same name. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 33e9e75..8970eec 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ $ docker run \ To run the a docker container from this image you can use the included run.sh and run.conf scripts. The helper script will stop any running container of the same name, remove it and run a new daemonised container on an unspecified host port. Alternatively you can use the following. ``` -$ docker stop ssh.pool-1.1.1 -$ docker rm ssh.pool-1.1.1 -$ docker run -d \ +$ docker stop ssh.pool-1.1.1 \ + && docker rm ssh.pool-1.1.1 \ + ; docker run -d \ --name ssh.pool-1.1.1 \ -p :22 \ --volumes-from volume-config.ssh.pool-1.1.1 \