Created
May 15, 2017 18:01
-
-
Save l-vitaly/05aa3cb2b33b50f83329427d84a8e58b to your computer and use it in GitHub Desktop.
Remove unused docker images and containers
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