Answers for "how to stop and remove docker container"

20

docker stop all

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Posted by: Guest on May-10-2020
5

docker remove container

docker system prune
Posted by: Guest on March-23-2020
4

how to remove a docker container

docker container rm [container id]
Posted by: Guest on May-23-2020

Code answers related to "how to stop and remove docker container"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language