lxc
Manage Linux containers using the lxd REST API. Any container names or patterns can be prefixed with the name of a remote server. More information: https://manned.org/lxc.
- List local containers matching a string. Omit the string to list all local containers:
lxc list
- List images matching a string. Omit the string to list all images:
lxc image list [:]
- Create a new container from an image:
lxc init [:]
- Start a container:
lxc start [:]
- Stop a container:
lxc stop [:]
- Show detailed info about a container:
lxc info [:]
- Take a snapshot of a container:
lxc snapshot [:]
- Execute a specific command inside a container:
lxc exec [:]
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
