Linux "lxc.list" Command Line Options and Examples
List containers

Description: List containers Default column layout: ns46tS Fast column layout: nsacPt == Filters == A single keyword like "web" which will list any container with a name starting by "web". A regular expression on the container name. (e.


Usage:

lxc list [:] [...] [flags]






Command Line Options:

-c
--columns="ns46tSL" Columns``
lxc.list -c ...
--fast[
Fast mode (same as --columns=nsacPt)
lxc.list --fast[ ...
--format="table"
OPTIONS INHERITED FROM PARENT COMMANDS
lxc.list --format="table" ...
--debug[
Show all debug messages
lxc.list --debug[ ...
--force-local[
Force using the local unix socket
lxc.list --force-local[ ...
-h
--help[=false] Print help
lxc.list -h ...
-v
--verbose[=false] Show all information messages
lxc.list -v ...
--version[=false]
EXAMPLElxc list -c n,volatile.base_image:"BASE IMAGE":0,s46,volatile.eth0.hwaddr:MACShow containers using the "NAME", "BASE IMAGE", "STATE", "IPV4", "IPV6" and "MAC" columns."BASE IMAGE" and "MAC" are custom columns generated from container configuration keys.lxc list -c ns,user.comment:commentList images with their running state and user comment.
lxc.list --version[=false] ...