CONTAINER-LIST(1)
β¨ CONTAINER-LIST(1) β¨
okay bestie, this is the General Commands Manual page for container-list, and it's genuinely so useful, i'm obsessed π
πΈ NAME πΈ
container-list β List container on the system π«Ά
π SYNOPSIS π
container list ['OPTIONS']
cnt ls ['OPTIONS']
two ways in, same energy β¨ (cnt ls is the lil' shortcut, iykyk)
π DESCRIPTION π
The container list command lists container on the system. that's it, that's the whole vibe β it shows you what's chillin' on your box π¦
β¨ OPTIONS β¨
The following container list options are available, and it defaults to --started --stopped (so if you just run it with nothing, you get the started + stopped girlies and nobody else π
):
-a,--allβ List all available container (started, stopped, and other). the whole roster, no one left out π--csv-separator='SEPARATOR'β Specify a custom CSV separator, defaults to','π-f,--format='FORMAT'β Use format to list container. Currently available formats are'cli'(default),'csv','json','nwdiag','shell','sh','yaml', or'xml'π β pick your fighter-h,--host='HOSTNAME'β List only container that are enabled for automatic start on the specified hostname. Defaults to list containers of the local system only. Using'all'shows all container regardless of any automatic start configuration π--nwdiag-color='COLOR'β Specify a custom nwdiag color for the host box, defaults to'#3465a4'π¨--nwdiag-label='LABEL'β Specify a custom nwdiag label for the diagram, defaults to empty π·οΈ-o,--otherβ List only container that are not enable for automatic start on the current system π-s,--startedβ List only started container π₯-t,--stoppedβ List only stopped container π
π¦ EXAMPLES π¦
List all started and stopped containers of the local system:
sudo container list
List all started and other containers:
sudo container list -s -o
Create a CSV export of all started and stopped containers:
sudo container list -f csv
Create a JSON export of all started and stopped containers:
sudo container list -f json
Create a nwdiag export of all started and stopped containers:
sudo container list -f nwdiag
Create a SVG image via nwdiag of all started and stopped containers:
sudo container list -f nwdiag | nwdiag -T svg -o cnt-list.svg -
Create a shell export of all started and stopped containers:
sudo container list -f shell sudo container list -f sh
yes bestie, that shell/sh line is printed exactly like that in the original β i'm not touching it, no cap π
Create a YAML export of all started and stopped containers:
sudo container list -f yaml
Create a XML export of all started and stopped containers:
sudo container list -f xml
π SEE ALSO π
go read those too, they're giving main character energy β¨
π HOMEPAGE π
More information about compute-tools and the Open Infrastructure project can be found on the homepage (<https://open-infrastructure.net>).
π¬ CONTACT π¬
Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <software@lists.open-infrastructure.net>. π
Debian specific bugs can also be reported in the Debian Bug Tracking System (<https://bugs.debian.org>).
π AUTHORS π
compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others. π«Ά
and that's the whole page, bestie!! this was brought to you by Open Infrastructure and compute-tools β periodt π
β¨π
π¦ where this page comes from
- debian bookworm: open-infrastructure-compute-tools 20221223-3 Β· GPL-3.0-or-later
- ubuntu noble: open-infrastructure-compute-tools 20221223-3 Β· GPL-3.0-or-later
- π the page's license: GPL-3.0+
- Copyright (C) 2014-2022 Daniel Baumann <daniel.baumann@open-infrastructure.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms