Last active
May 21, 2022 12:04
-
-
Save mickdelaney/db4f5b5b67d2f16d2f4934fa41aa0592 to your computer and use it in GitHub Desktop.
remove docker images by search name
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 rm -f $(docker ps | grep 'search-string' | awk '{print $1}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment