Skip to content

Instantly share code, notes, and snippets.

@textbook
Last active October 27, 2020 21:10
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save textbook/5abecedb087c9e81772485b33b9ba9f6 to your computer and use it in GitHub Desktop.
Easy commands to clean up Docker containers and images
docker rm $(docker ps --all --quiet --filter status=exited)
docker rmi $(docker images --quiet --filter dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment