Created
August 6, 2018 08:58
-
-
Save albertlieyingadrian/b99fae67ed0e9a5d03efae2c541eb809 to your computer and use it in GitHub Desktop.
Clean docker images with specific keywords
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 rmi -f $(docker images | grep KEYWORD | awk "{print \$3}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment