Skip to content

Instantly share code, notes, and snippets.

@steinwaywhw
Created May 10, 2015 22:01
Show Gist options
  • Save steinwaywhw/9f05bbcfcb3a749854f7 to your computer and use it in GitHub Desktop.
Save steinwaywhw/9f05bbcfcb3a749854f7 to your computer and use it in GitHub Desktop.
One-liner to remove un-tagged docker images
docker rmi $(docker images | grep "^<none>" | tr -s ' ' | cut -d ' ' -f 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment