So we know that docker gives us the ability to list all the different containers that currently running using the below commmand :
$ docker ps # To list running containers
Then we can use the below command to list all the containers regardless of the fact whether they are running or not.
$ docker ps -a # To list running and stopped containers
Is there a way where we only list those containers that are stopped and not the ones that are running?