CmdID / docker / docker container
docker container list
List containers Docker CLI reference
8 options
Also docker container ls, docker container ps, docker ps
Its page in the Docker CLI reference
Options
--all, -aShow all containers (default shows just running)--filter, -fFilter output based on conditions provided--formatFormat output using a custom template: 'table': Print output in table format with column headers (default) 'table TEMPLATE': Print output in table format using the given Go template 'json': Print in JSON format 'TEMPLATE': Print output using the given Go template.--last, -nShow n last created containers (includes all states)--latest, -lShow the latest created container (includes all states)--no-truncDon't truncate output--quiet, -qOnly display container IDs--size, -sDisplay total file sizes