Skip to content

Commit 6686967

Browse files
committed
2 parents 05ba438 + 7721d37 commit 6686967

18 files changed

+1926
-10
lines changed

i18n/zh/docusaurus-plugin-content-docs/current/Modules/Container Security/Container Hardening.md

Lines changed: 657 additions & 0 deletions
Large diffs are not rendered by default.

i18n/zh/docusaurus-plugin-content-docs/current/Modules/Container Security/Container Vulnerabilities.md

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

i18n/zh/docusaurus-plugin-content-docs/current/Modules/Container Security/Intro to Docker.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ cmnatic@thm:~$
7373

7474
通过运行此命令,我们正在下载标题为"nginx"的镜像的最新版本。 镜像有这些称为标签的标记。 这些标签用于引用镜像的变体。 例如,镜像可以具有相同的名称但不同的标签以指示不同的版本。 我在下面的表格中提供了一个如何使用标签的示例:
7575

76-
| Docker镜像 | 标签 | 命令示例 | 解释 |
77-
| :------: | :-------------------: | :------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------: |
78-
| ubuntu | latest | docker pull ubuntu <br /> **- 等同于 -** <br /> docker pull ubuntu:latest | 此命令将拉取"ubuntu"镜像的最新版本。 如果未指定标签,Docker将假定您需要"latest"版本(如果未指定标签)。<br />值得记住的是,您并不总是需要"latest"。 这个镜像字面上是"最新的",因为它将包含最近的更改。 这可能会修复或破坏您的容器。 |
79-
| ubuntu | 22.04 | docker pull ubuntu:22.04 | 此命令将拉取"ubuntu"镜像的"22.04 (Jammy)"版本。 |
80-
| ubuntu | 20.04 | docker pull ubuntu:20.04 | 此命令将拉取"ubuntu"镜像的"20.04 (Focal)"版本。 |
81-
| ubuntu | 18.04 | docker pull ubuntu:18.04 | 此命令将拉取"ubuntu"镜像的"18.04 (Bionic)"版本。 |
76+
| Docker镜像 | 标签 | 命令示例 | 解释 |
77+
| :------: | :-------------------: | :------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------: |
78+
| ubuntu | latest | docker pull ubuntu <br /> **- 等同于 -** <br /> docker pull ubuntu:latest | 此命令将拉取"ubuntu"镜像的最新版本。 如果未指定标签,Docker将假定您需要"latest"版本。<br />值得记住的是,您并不总是需要"latest"。 这个镜像字面上是"最新的",因为它将包含最近的更改。 这可能会修复或破坏您的容器。 |
79+
| ubuntu | 22.04 | docker pull ubuntu:22.04 | 此命令将拉取"ubuntu"镜像的"22.04 (Jammy)"版本。 |
80+
| ubuntu | 20.04 | docker pull ubuntu:20.04 | 此命令将拉取"ubuntu"镜像的"20.04 (Focal)"版本。 |
81+
| ubuntu | 18.04 | docker pull ubuntu:18.04 | 此命令将拉取"ubuntu"镜像的"18.04 (Bionic)"版本。 |
8282

8383
指定标签时,必须在镜像名称和标签之间包含冒号`:`,例如`ubuntu:22.04`(镜像:标签)。 不要忘记标签 - 我们将在未来的任务中再次讨论这些!
8484

@@ -577,7 +577,7 @@ build
577577

578578
虽然我们可以单独启动多个容器或“微服务”并连接它们,但逐个操作既繁琐又低效。 Docker Compose 允许我们将这些“微服务”创建为一个单一的“服务”。
579579

580-
此插图显示了使用 Docker Compose 与 Docker 部署容器的方式: Docker:
580+
此插图展示了不同之处在部署容器时 - 通过 Docker Compose 与 Docker:
581581

582582
![一个蓝色框(代表一台计算机)带有 docker 的标题,与另一组蓝色框(代表一台计算机)隔离。](img/image_20251151-145132.png)
583583

i18n/zh/docusaurus-plugin-content-docs/current/Modules/Container Security/Intro to Kubernetes.md

Lines changed: 763 additions & 0 deletions
Large diffs are not rendered by default.
269 KB
Loading
98 KB
Loading
41.8 KB
Loading
57.5 KB
Loading
22.1 KB
Loading
69 KB
Loading

0 commit comments

Comments
 (0)