lxc-ls
lists Linux containers on the system
TLDR
List all containers
$ sudo lxc-ls
List active containers$ sudo lxc-ls --active
List frozen containers$ sudo lxc-ls --frozen
List stopped containers$ sudo lxc-ls --stopped
List with fancy output$ sudo lxc-ls --fancy
Display help$ lxc-ls --help
SYNOPSIS
lxc-ls [options]
DESCRIPTION
lxc-ls lists Linux containers on the system. It can filter by state and display detailed information in various formats.
PARAMETERS
--active
Show running and frozen containers--frozen
Show only frozen containers--running
Show only running containers--stopped
Show only stopped containers-f, --fancy
Column-formatted detailed output-F, --fancy-format COLS
Custom columns for fancy output-1
One container per line-?, --help
Display help information
FANCY OUTPUT COLUMNS
NAME, STATE, AUTOSTART, GROUPS, IPV4, IPV6, UNPRIVILEGED
SEE ALSO
lxc-info(1), lxc-start(1), lxc-create(1)
