lxc
linux
Manage Linux containers using the lxd REST API. Any container names or patterns can be prefixed with the name of a remote server.
More info →Subcommands (12)
lxc-attach
→Attach to a container.
lxc-checkconfig
→Check a kernel for LXC support.
lxc-console
→Attach to a container.
lxc-create
→Create linux containers.
lxc-destroy
→Delete a container.
lxc-info
→Get info on a container.
lxc-ls
→List Linux containers.
lxc network
→Manage networks for LXD containers.
lxc profile
→Manage profiles for LXD containers.
lxc-start
→Start a container.
lxc-stop
→Stop a container.
lxc-top
→Display resource usage of LXC containers.
Examples (8)
List local containers matching a string. Omit the string to list all local containers
lxc list match_stringList images matching a string. Omit the string to list all images
lxc image list [remote:]match_stringStart a container
lxc start [remote:]containerStop a container
lxc stop [remote:]containerShow detailed info about a container
lxc info [remote:]containerTake a snapshot of a container
lxc snapshot [remote:]container snapshotmade by @shridhargupta | data from tldr-pages