Skip to content

Instantly share code, notes, and snippets.

@andersonpem
Created May 9, 2022 09:47
Show Gist options
  • Save andersonpem/6f6139182035c964bc077babb709f1b0 to your computer and use it in GitHub Desktop.
Save andersonpem/6f6139182035c964bc077babb709f1b0 to your computer and use it in GitHub Desktop.
Execute order 66 in your local Docker - Kills all containers, removes all volumes, removes ALL images. Clean slate Docker.
docker container stop $(docker container ls -aq) --force
docker container rm $(docker container ls -aq) --force
docker rmi $(docker images -aq) --force
docker volume prune --force
docker system prune --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment