no of container in docker code example
Example 1: docker list containers
# List history of containers
$ docker ps -a
Example 2: docker list containers
# List curently active containers
$ docker ps
# List history of containers
$ docker ps -a
# List curently active containers
$ docker ps