Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove all docker containers

docker ps -aq
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
 
PREVIOUS NEXT
Tagged: #remove #docker #containers
ADD COMMENT
Topic
Name
1+3 =