Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save frederick-greenacademy/1e982cd6b5d402914eea634a65fe24ac to your computer and use it in GitHub Desktop.
Save frederick-greenacademy/1e982cd6b5d402914eea634a65fe24ac to your computer and use it in GitHub Desktop.
stop all Docker containers
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