Created
June 10, 2022 04:22
-
-
Save frederick-greenacademy/1e982cd6b5d402914eea634a65fe24ac to your computer and use it in GitHub Desktop.
stop all Docker containers
This file contains hidden or 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
To stop all Docker containers, simply run the following command in your terminal: | |
docker kill $(docker ps -q) | |
docker rm $(docker ps -a -q) | |
docker rmi $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment