Answers for "delete docker continaers created by docker-composer"

20

docker stop all

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

docker force remove container

docker rm -f [containerid]
Posted by: Guest on May-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language