Signed-off-by: Natalie Parker <nparker@omnifone.com>
| ... | ... |
@@ -1661,6 +1661,8 @@ containers removing all network communication. |
| 1661 | 1661 |
The main process inside the container referenced under the link `/redis` will receive |
| 1662 | 1662 |
`SIGKILL`, then the container will be removed. |
| 1663 | 1663 |
|
| 1664 |
+ $ docker rm $(docker ps -a -q) |
|
| 1665 |
+ |
|
| 1664 | 1666 |
This command will delete all stopped containers. The command `docker ps |
| 1665 | 1667 |
-a -q` will return all existing container IDs and pass them to the `rm` |
| 1666 | 1668 |
command which will delete them. Any running containers will not be |