"docker container list --all" - List All Containers

Q

How to list all containers on the Docker Engine with "docker container list --all" command?

✍: FYIcenter.com

A

The default "docker container list" or "docker ps" command lists only running containers. If you want to see all containers including those that were stopped, you need to use the "--all" option.

Here is a list of sub-commands supported by "docker container":

$ docker container list --all

CONTAINER ID  IMAGE        COMMAND            CREATED      STATUS                  NAMES
96ce071457fc  hello-world  "/hello"           6 hours ago  Exited (0) 6 hours ago  gracious_wilson
e744e7509b13  tomcat       "catalina.sh run"  8 hours ago  Exited (1) 8 hours ago  blissful_herschel

 

"docker container start" - Start Container

"docker container" - Manage Containers

Docker Client (or CLI) on Ubuntu

⇑⇑ Docker Container Platform - Tutorials

2019-07-30, 138👍, 0💬