What is the meaning of docker ps -a What is the meaning of docker ps -a docker docker

What is the meaning of docker ps -a


-a is short form for --all.It shows all the containers both stopped and running.Normal docker ps shows only the running containers.When you provide the option -a, it shows all the containers.

Please check this for further details: :)Docker ps options


in short it is like listing containers in “all” states .. normally without that flag it just lists containers in a running state


“docker ps” lists all containers that are up and running. PS means “Process Status”, so docker ps basically showing all the docker processes actively running.

-a means all both stopped and running.