this line gave the false impression that containers are not removed
unless you specify the --rm argument.
| ... | ... |
@@ -27,7 +27,7 @@ quick access to a test container. |
| 27 | 27 |
|
| 28 | 28 |
Build the image using: |
| 29 | 29 |
|
| 30 |
- $ sudo docker build --rm -t eg_sshd . |
|
| 30 |
+ $ sudo docker build -t eg_sshd . |
|
| 31 | 31 |
|
| 32 | 32 |
Then run it. You can then use `docker port` to find out what host port |
| 33 | 33 |
the container's port 22 is mapped to: |