Dec 11, 2015, 19:10

Docker oneliner to remove stale containers

docker ps -a | grep 'bundle' | cut -d' ' -f1 | xargs docker rm

remove stale images

docker images  -f="dangling=true" | xargs docker rmi
Share