commands.sh

lxc-ls

linux

List Linux containers.

More info →

Options (2)

-f, --fancyboolean

List containers in a fancy, column-based output

Example: sudo lxc-ls {{[-f|--fancy]}}
--helpboolean

Display help

Example: lxc-ls {{[-?|--help]}}

Examples (6)

List all containers

List active containers (including frozen and running)

sudo lxc-ls --active

List only frozen containers

sudo lxc-ls --frozen

List only stopped containers

sudo lxc-ls --stopped

List containers in a fancy, column-based output

sudo lxc-ls [-f|--fancy]

Display help

lxc-ls [-?|--help]
made by @shridhargupta | data from tldr-pages