To List out all the docker containers run the below command.
docker ps -a
To list out only the running containers in docker follow the below command.
docker ps
The latest created containers can shown using the below command.
docker ps -l
In the New version of Docker you can use below command to list all the containers.
docker container ls -a
Also Read:
How to Remove Docker Containers.