SYNOPSIS

lxc-ls \kx [-1] [--active] [--frozen] [--running] [--stopped] [-f] [-F format] [--nesting] [filter]

DESCRIPTION

lxc-ls list the containers existing on the system.

OPTIONS

\*(T<[-1]\*(T>

Show one entry per line. (default when /dev/stdout isn't a tty)

\*(T<[--active]\*(T>

List only active containers (same as --frozen --running).

\*(T<[--frozen]\*(T>

List only frozen containers.

\*(T<[--running]\*(T>

List only running containers.

\*(T<[--stopped]\*(T>

List only stopped containers.

\*(T<[-f, --fancy]\*(T>

Use a fancy, column-based output.

\*(T<[-F, --fancy-format format]\*(T>

Comma separated list of column to show in the fancy output. The list of accepted and default fields is listed in --help.

\*(T<[--nesting]\*(T>

Show nested containers.

\*(T<[filter]\*(T>

The filter passed to lxc-ls will be applied to the container name. The format is a regular expression.

EXAMPLES

lxc-ls --fancy

list all the containers, listing one per line along with its name, state, ipv4 and ipv6 addresses.

lxc-ls --active -1

list active containers and display the list in one column.

RELATED TO lxc-ls…

AUTHOR

St\('ephane Graber <\*(T<[email protected]\*(T>>