1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #11672 from nparker94/master

Added missing code example in the RM command reference
This commit is contained in:
Jessie Frazelle 2015-03-23 16:53:39 -07:00
commit f99da5745c

View file

@ -1661,6 +1661,8 @@ containers removing all network communication.
The main process inside the container referenced under the link `/redis` will receive
`SIGKILL`, then the container will be removed.
$ docker rm $(docker ps -a -q)
This command will delete all stopped containers. The command `docker ps
-a -q` will return all existing container IDs and pass them to the `rm`
command which will delete them. Any running containers will not be