Joined September 2019
·

mevriv

·

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

Following worked for me on my mac. This is combination from 2 other responses.

alias stopall='docker ps -a -q | xargs -n 1 -P 8 -I {} docker stop {}'
alias removeall='docker ps -a -q | xargs -n 1 -P 8 -I {} docker rm {}'

Achievements
1 Karma
0 Total ProTip Views