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

View File

@@ -0,0 +1,29 @@
# docker 更新
> 更新 Docker 容器的配置。
> 此命令不支持 Windows 容器。
> 更多信息:<https://docs.docker.com/reference/cli/docker/container/update/>.
- 更新重启策略,以便在特定容器退出时应用:
`docker update --restart={{always|no|on-failure|unless-stopped}} {{container_name}}`
- 更新策略,以便在特定容器以非零退出状态退出时重启最多三次:
`docker update --restart=on-failure:3 {{container_name}}`
- 更新特定容器可用的 CPU 数量:
`docker update --cpus {{count}} {{container_name}}`
- 更新特定容器的内存限制(以[M]egabytes为单位
`docker update --memory {{limit}}M {{container_name}}`
- 更新特定容器内允许的最大进程 ID 数量(使用 `-1` 表示无限制):
`docker update --pids-limit {{count}} {{container_name}}`
- 更新特定容器可以交换到磁盘的内存量(以[M]egabytes为单位使用 `-1` 表示无限制):
`docker update --memory-swap {{limit}}M {{container_name}}`