The following are some useful commands to manage LXC:
List containers and summary information such as operational state and network configuration:
# lxc-ls --fancy
Show container details including operational state, resource
utilization, and veth
pairs:
# lxc-info --name container_name
Start a container:
# lxc-start --name container_name
Attach to a container:
# lxc-attach --name container_name
Stop a container:
# lxc-stop --name container_name
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.