3.2.15. prlctl list

Displays a list of containers on the Hardware Node. Displays information on containers on the Hardware Node.

Syntax. 

prlctl list --vmtype ct [-a, --all] [-o, --output <field>[,...]]
                        [-s, --sort <field>|-<field>] [-t, --template] [-j, --json]
prlctl list -i, --info --vmtype ct [<CT_name>] [-f, --full] [-t, --template]
                                   [-j, --json]

Table 3.22. Options

NameDescription

-a, --all

List all running, stopped, suspended, and paused containers. If this and the rest of the parameters are omitted, only the running containers will be displayed.

-t, --template

List available container templates instead of actual containers.

-o, --output <field>[,…]

Display only the specified fields. Type field names in lower case. Separate multiple fields with commas. For the list of fields, see Section 3.2.15.1, “prlctl list Output Parameters”.

-s, --sort {<field>|-<field>}

Sort containers by the specified field in either ascending or descending order.

-i, --info

Display detailed information about the specified container.

-f, --full

Display detailed information about network cards in containers. Used with the --info option.

<CT_name>

Thename of the container for which to display the detailed information. If not specified, the information will be displayed for all registered containers.

-j, -json

Produce machine-readable output in the JSON format.