Skip to content

Instantly share code, notes, and snippets.

@maxclaus
Last active August 29, 2015 14:20
Show Gist options
  • Save maxclaus/0fed19d7c23937ab6540 to your computer and use it in GitHub Desktop.
Save maxclaus/0fed19d7c23937ab6540 to your computer and use it in GitHub Desktop.
# remove dangling images
docker rmi $(docker images -q -f dangling=true)
# remove dead containers
docker rm $(docker ps -aq)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment