Joined November 2014
·
hh

Hippie Hacker

Portland, Oregon USA
·
·

Posted to Stop / remove all Docker containers over 1 year ago

To only stop exited containers and delete only non-tagged images.:
docker ps --filter 'status=Exited' -a | xargs docker stop docker images --filter "dangling=true" -q | xargs docker rmi

Achievements
1 Karma
0 Total ProTip Views