Created
August 3, 2016 13:25
-
-
Save hpherzog/059c91ea1c532bda5f3e5c7847004380 to your computer and use it in GitHub Desktop.
Remove all none tagged docker 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
docker rm -v $(docker ps --filter status=exited -q 2>/dev/null) 2 > /dev/null | |
docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2 > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment