CONTAINER-LIST(1)

πŸ“¦
this version Β· 5 versions
, in debian bookworm, ubuntu noble

✨ 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