Docker PS

Shows the current running containers on the system


$ docker ps [OPTIONS]


-a all containers

-filter [] filtering container based on any parameter


$ sudo docker ps -a

CONTAINER ID        IMAGE               COMMAND             CREATED              STATUS                          PORTS               NAMES

2e4bea848301        hello-world         "/hello"            About a minute ago   Exited (0) About a minute ago                       sharp_jang

For more information visit the offical docker documentation

A very good discussion on the PS Command on stackoverflow