robguy21
3/16/2017 - 7:30 AM

2 lines to stop and remove all your docker containers. Really awesome when you've fucked up and have multiple docker containers running and

2 lines to stop and remove all your docker containers. Really awesome when you've fucked up and have multiple docker containers running and want a fresh start

# thanks https://coderwall.com/p/ewk0mq/stop-remove-all-docker-containers

docker stop $(docker ps -a -q)

docker rm $(docker ps -a -q)