Created
May 9, 2022 09:47
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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