Skip to content

Instantly share code, notes, and snippets.

@derpixler
Created February 24, 2020 07:20
Show Gist options
  • Save derpixler/5a832f0fb8b0120e5b7673b3a1b22bd8 to your computer and use it in GitHub Desktop.
Save derpixler/5a832f0fb8b0120e5b7673b3a1b22bd8 to your computer and use it in GitHub Desktop.
Docker Killer
stop all containers:
docker kill $(docker ps -q)
remove all containers
docker rm $(docker ps -a -q)
remove all docker images
docker rmi $(docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment