Skip to content

Instantly share code, notes, and snippets.

@xrubioj
Created November 23, 2017 11:37
Show Gist options
  • Save xrubioj/7f7025cef8682b73c450c435528fa17e to your computer and use it in GitHub Desktop.
Save xrubioj/7f7025cef8682b73c450c435528fa17e to your computer and use it in GitHub Desktop.
Purge untagged Docker images
docker image list | grep "^<none>" | cut -c 48-59 | xargs docker image rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment