add new chinese translations
This commit is contained in:
24
pages.zh/common/docker-slim.md
Normal file
24
pages.zh/common/docker-slim.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# docker-slim
|
||||
|
||||
> 分析和优化 Docker 镜像。
|
||||
> 更多信息:<https://github.com/slimtoolkit/slim>。
|
||||
|
||||
- 在交互模式下启动 DockerSlim:
|
||||
|
||||
`docker-slim`
|
||||
|
||||
- 分析来自特定镜像的 Docker 层:
|
||||
|
||||
`docker-slim xray --target {{image:tag}}`
|
||||
|
||||
- 检查 Dockerfile:
|
||||
|
||||
`docker-slim lint --target {{path/to/Dockerfile}}`
|
||||
|
||||
- 分析并生成优化后的 Docker 镜像:
|
||||
|
||||
`docker-slim build {{image:tag}}`
|
||||
|
||||
- 显示子命令的帮助:
|
||||
|
||||
`docker-slim {{subcommand}} --help`
|
Reference in New Issue
Block a user