docker container ls

List containers


docker container ls [OPTIONS]


See docker ps for more information.


--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. Refer to for more information about formatting output with templates
--last-n-1Show 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