Skip to content

Commit 7c55701

Browse files
committed
Made example run command and single line including the commands to stop and remove any existing container of the same name.
1 parent ccce239 commit 7c55701

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ $ docker run \
5353
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.
5454

5555
```
56-
$ docker stop ssh.pool-1.1.1
57-
$ docker rm ssh.pool-1.1.1
58-
$ docker run -d \
56+
$ docker stop ssh.pool-1.1.1 \
57+
&& docker rm ssh.pool-1.1.1 \
58+
; docker run -d \
5959
--name ssh.pool-1.1.1 \
6060
-p :22 \
6161
--volumes-from volume-config.ssh.pool-1.1.1 \

0 commit comments

Comments
 (0)