Skip to content

Instantly share code, notes, and snippets.

@SirSerje
Last active March 18, 2021 22:11
Show Gist options
  • Save SirSerje/4ed040c5cd8851adc7ed372dc2f6f695 to your computer and use it in GitHub Desktop.
Save SirSerje/4ed040c5cd8851adc7ed372dc2f6f695 to your computer and use it in GitHub Desktop.
Remove all docker's shit
kill all running containers with docker kill $(docker ps -q)
delete all stopped containers with docker rm $(docker ps -a -q)
delete all images with docker rmi $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment