LXC命令列表
| Command | Synopsis |
|---|---|
| lxc-attach | (NOT SUPPORTED) Run a command in a running container |
| lxc-backup | Back up the root filesystems for all lvm-backed containers |
| lxc-cgroup | View and set container control group settings |
| lxc-checkconfig | Verify host support for containers |
| lxc-checkpoint | (NOT SUPPORTED) Checkpoint a running container |
| lxc-clone | Clone a new container from an existing one |
| lxc-console | Open a console in a running container |
| lxc-create | Create a new container |
| lxc-destroy | Destroy an existing container |
| lxc-execute | Run a command in a (not running) application container |
| lxc-freeze | Freeze a running container |
| lxc-info | Print information on the state of a container |
| lxc-kill | Send a signal to a container’s init |
| lxc-list | List all containers |
| lxc-ls | List all containers with shorter output than lxc-list |
| lxc-monitor | Monitor state changes of one or more containers |
| lxc-netstat | Execute netstat in a running container |
| lxc-ps | View process info in a running container |
| lxc-restart | (NOT SUPPORTED) Restart a checkpointed container |
| lxc-restore | Restore containers from backups made by lxc-backup |
| lxc-setcap | (NOT RECOMMENDED) Set file capabilities on LXC tools |
| lxc-setuid | (NOT RECOMMENDED) Set or remove setuid bits on LXC tools |
| lxc-shutdown | Safely shut down a container |
| lxc-startStart | a stopped container |
| lxc-start-ephemeral | Start an ephemeral (one-time) container |
| lxc-stop | Immediately stop a running container |
| lxc-unfreeze | Unfreeze a frozen container |
| lxc-unshare | Testing tool to manually unshare namespaces |
| lxc-version | Print the version of the LXC tools |
| lxc-wait | Wait for a container to reach a particular state |