docker stop and remove all Jul 5, 2019 • ulysses Here’s the command to stop and remove all Docker containers. docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)