Skip to content

Instantly share code, notes, and snippets.

@mgoodness
Created January 5, 2019 05:19
Show Gist options
  • Save mgoodness/02bd0e0543daef8f81a4411c4394ab28 to your computer and use it in GitHub Desktop.
Save mgoodness/02bd0e0543daef8f81a4411c4394ab28 to your computer and use it in GitHub Desktop.
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