Created
April 19, 2017 18:39
-
-
Save rpherrera/32f7ebaab2572de9617b0e57a727feca to your computer and use it in GitHub Desktop.
remove 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/bash | |
docker images -a | awk '{print $3}' | grep -v IMAGE | uniq | xargs docker rmi -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment