-a, --all
List all containers.
-S, --stopped
List only not running containers (including the ones with status shown as mounted or suspended).
-n, --name
Display container names instead of hostnames.
-H, --no-header
Suppress displaying the header row. Usable for scripts.
-t, --no-trim
Suppress trimming long fields. Usable for scripts.
-j, --json
Output in JSON format. By default, all possible fields are printed.
-o, --outputfield[,field...]
Display only the specified fields (see Possiblefields subsection below).
-1 Synonym for -H-octid, i.e. only show container IDs, one per line.
-s, --sort [-]field
Sort by the value of field (possible arguments are the same as for -o). The - before the field
name means sorting in the reverse order.
Outputfilters
List of CTs can be further filtered using the following options. For patterns one can use the same
wildcards as in shell (i.e. *, ?, and []). Note: to avoid expansion of wildcards by the shell, one have
to escape the pattern by either putting it into single quotes (like 'a*a') or by adding a backslash
before the wildcard character (like a\*a).
-h, --hostnamepattern
List only containers whose hostnames matches the pattern.
-N, --name_filterpattern
List only containers whose names matches the pattern.
-d, --descriptionpattern
List only containers with descriptions matching the pattern.
Possiblefields-L, --list
list all available format specifiers that can be used for both output (-o, --output) and the
sorting order (-s, --sort).
For the user beancounter fields, if suffix is not specified, current usage (a.k.a. "held") value is show.
One can also use the following suffixes:
.m maxheld
.b barrier
.l limit
.f fail counter
For the disk quota fields, if suffix is not specified, current usage is shown. One can also use the
following suffixes:
.s soft limit
.h hard limit
Note that for JSON output suffixes are not allowed.