how to stop all docker images at once code example Example: stop all docker ps-a docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)