Last active
January 28, 2016 21:13
-
-
Save highercomve/bc07ad905997dfe3244f to your computer and use it in GitHub Desktop.
Clean Dockers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo docker ps -a | awk '{print $1}' | grep -v CONTAINER | xargs sudo docker rm | |
| sudo docker images | grep "<none>" | awk '{print $3}' | xargs sudo docker rmi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment