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,20 @@
# docker 上下文
> 切换上下文以管理多个 Docker 环境。
> 更多信息:<https://docs.docker.com/reference/cli/docker/context/>。
- 使用特定的 Docker 端点创建一个上下文:
`docker context create {{my_context}} --docker "host={{tcp://remote-host:2375}}"`
- 基于 `DOCKER_HOST` 环境变量创建一个上下文:
`docker context create {{my_context}}`
- 切换到一个上下文:
`docker context use {{my_context}}`
- 列出所有上下文:
`docker context ls`