Skip to content

Instantly share code, notes, and snippets.

@ianwcarlson
Created May 9, 2016 16:53
Show Gist options
  • Save ianwcarlson/6fdad34b143073c08b14387e357dcc96 to your computer and use it in GitHub Desktop.
Save ianwcarlson/6fdad34b143073c08b14387e357dcc96 to your computer and use it in GitHub Desktop.
Remove Docker Images by Name
docker rmi -f $(docker images --format "{{.ID}} {{.Repository}}" | grep <name to search> | awk ' {print $1} ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment