Created
October 27, 2016 04:34
-
-
Save alfg/49d4597608080975de07a2bbea2f6ecf to your computer and use it in GitHub Desktop.
This file contains 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
dcleanup(){ | |
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 | |
} | |
dcleanup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment