Created
December 15, 2016 12:11
-
-
Save zinovyev/0b2f9b2b45862c0c2e47b46a9407cddd to your computer and use it in GitHub Desktop.
Remove docker images with name <none>
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
docker images | awk '{if ($1 == "<none>") print "docker rmi "$3" -f"}' | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment