Created
January 5, 2019 05:19
-
-
Save mgoodness/02bd0e0543daef8f81a4411c4394ab28 to your computer and use it in GitHub Desktop.
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() { | |
docker images \ | |
| fzf --header-lines=1 --multi \ | |
| awk '{print $3}' \ | |
| xargs docker rmi ${1+"$@"} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment