Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove all container exited

sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #remove #container #exited
ADD COMMENT
Topic
Name
7+3 =