Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to remove all docker container at once

to remove all the docker containers at once.
$docker rm $(docker ps -a -q)

to remove all the docker images at once.
$docker rmi $(docker images -a -q)
 
PREVIOUS NEXT
Tagged: #remove #docker #container
ADD COMMENT
Topic
Name
4+4 =