Created
March 3, 2015 14:22
-
-
Save lauborges/5c0d1ad38ea80e5f9d6b to your computer and use it in GitHub Desktop.
remove all dockers images
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