stop all docker centos code example Example: stop all docker ps-a docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)