Skip to content

Instantly share code, notes, and snippets.

@textbook
Last active October 27, 2020 21:10
Show Gist options
  • Save textbook/5abecedb087c9e81772485b33b9ba9f6 to your computer and use it in GitHub Desktop.
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