Skip to content

Instantly share code, notes, and snippets.

@xynova
Created January 23, 2016 06:25
Show Gist options
  • Save xynova/f90d3e3dfdb6cf626f12 to your computer and use it in GitHub Desktop.
Save xynova/f90d3e3dfdb6cf626f12 to your computer and use it in GitHub Desktop.
Command to remove orphaned 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