-
-
Save dankelly/0e8eda51a9e502f7597b4866692e7b72 to your computer and use it in GitHub Desktop.
Shell script: Delete all Docker images
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 | |
| docker images -a | grep -v REPOSITORY | tr -s ' ' | cut -d ' ' -f3 | xargs docker rmi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment