add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

37
pages.zh/linux/lxc.md Normal file
View File

@@ -0,0 +1,37 @@
# lxc
> 使用 lxd REST API 管理 Linux 容器。
> 任何容器名称或模式都可以以远程服务器的名称为前缀。
> 更多信息:<https://manned.org/lxc>。
- 列出与字符串匹配的本地容器。省略字符串以列出所有本地容器:
`lxc list {{match_string}}`
- 列出与字符串匹配的镜像。省略字符串以列出所有镜像:
`lxc image list [{{remote}}:]{{match_string}}`
- 从镜像创建一个新容器:
`lxc init [{{remote}}:]{{image}} {{container}}`
- 启动一个容器:
`lxc start [{{remote}}:]{{container}}`
- 停止一个容器:
`lxc stop [{{remote}}:]{{container}}`
- 显示有关容器的详细信息:
`lxc info [{{remote}}:]{{container}}`
- 对容器进行快照:
`lxc snapshot [{{remote}}:]{{container}} {{snapshot}}`
- 在容器内执行特定命令:
`lxc exec [{{remote}}:]{{container}} {{command}}`