Last active
November 7, 2017 00:50
-
-
Save JohannesFischer/5bff94db4eca1fc1ee0c849ef6de4daa to your computer and use it in GitHub Desktop.
Docker - Remove all untagged 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
docker image rm --force $(docker image ls | awk '$1 == "<none>" {print $3}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment