docker ls code example
Example 1: how to list docker images
docker image ls
Example 2: docker check running containers
docker ps -a
Example 3: docker list containers
# List curently active containers
$ docker ps
Example 4: list containers
docker ps -a
Example 5: check docker images
docker images [OPTIONS] [REPOSITORY[:TAG]]