Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker delete all containers

docker container rm $(docker container ls –aq)
docker container stop $(docker container ls –aq) && docker system prune –af ––volumes
Source by phoenixnap.com #
 
PREVIOUS NEXT
Tagged: #docker #delete #containers
ADD COMMENT
Topic
Name
7+9 =