Created
August 17, 2014 19:30
-
-
Save technicool/f5bf2f51163949c46b72 to your computer and use it in GitHub Desktop.
Clean up all non-running docker images
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
#!/bin/bash | |
# | |
# Note: This will cause you to have to redownload lots of stuff, use with care! | |
sudo docker.io images | awk '{print "sudo docker.io rmi " $3}' | /bin/bash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment