Skip to content

Instantly share code, notes, and snippets.

@ecabuk
Last active June 23, 2016 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecabuk/4c9a9fe70494f6cfa74a7da6c54ead04 to your computer and use it in GitHub Desktop.
Save ecabuk/4c9a9fe70494f6cfa74a7da6c54ead04 to your computer and use it in GitHub Desktop.
Docker Cleanup Commands

Delete all 'untagged/dangling' () images

docker rmi $(docker images -q -f dangling=true)

Delete all orphaned volumes

docker volume rm $(docker volume ls -qf dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment