Created
March 5, 2016 13:11
-
-
Save uchida/bca005bcebc135fa4ef3 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
docker ps -q -f status=exited | xargs --no-run-if-empty docker rm | |
docker images -q -f dangling=true | xargs --no-run-if-empty docker rmi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment