Remove all stopped containers
Posted on April 6, 2016
Remove all stopped containers
docker rm -v $(docker ps -a | grep "Exited" | awk "{print $1}")
Remove all stopped containers v2
docker rm $(docker ps -a -q)
Remove all stopped containers
docker rm -v $(docker ps -a | grep "Exited" | awk "{print $1}")
Remove all stopped containers v2
docker rm $(docker ps -a -q)