Browse code

Added missing code example in the RM command reference of command to delete all stopped containers

Signed-off-by: Natalie Parker <nparker@omnifone.com>

Natalie Parker authored on 2015/03/24 05:15:29
Showing 1 changed files
... ...
@@ -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