how to show stoped containers dockers code example Example: docker stop all containers docker stop $(docker ps -a -q)