Created
August 26, 2016 07:33
-
-
Save nqbao/15cec9836de80d20c60ef9b737be0dd8 to your computer and use it in GitHub Desktop.
remove untagged 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
sudo docker rmi `sudo docker images --format "{{.ID}},{{.Tag}}" | grep "<none>" | awk -F',' '{print $1}'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment