Created
March 25, 2015 13:49
-
-
Save halfvector/63ed1da725685609acf1 to your computer and use it in GitHub Desktop.
Cleanup untagged Docker images. Manual garbage collection to keep your drive from running out of space.
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 | |
echo "Removing untagged docker images.." | |
docker images -q -f dangling=true | xargs docker rmi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment