stop all running docker images code example Example: docker delete all containers docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)