diff --git a/04_image/4.4_commit.md b/04_image/4.4_commit.md index 47611ee..79f177c 100644 --- a/04_image/4.4_commit.md +++ b/04_image/4.4_commit.md @@ -93,7 +93,7 @@ nginx 1.30 05a60462f8ba 12 days ago nginx latest e43d811ce2f4 4 weeks ago 181.5 MB ``` -> **版本说明**:上面示例中 `nginx:1.28` 代表 1.30 系列的最新 patch 版本。在���际应用中应根据需求选择确切的版本号,而不是盲目使用 `latest`。 +> **版本说明**:上面示例中 `nginx:1.30` 代表 1.30 系列的最新 patch 版本。在实际应用中应根据需求选择确切的版本号,而不是盲目使用 `latest`。 我们还可以用 `docker history` 具体查看镜像内的历史记录。例如先执行 `docker history nginx:v2`,再对比 `docker history nginx:latest`,就能看到我们刚刚提交出来的新层。 diff --git a/05_container/README.md b/05_container/README.md index 4b9360a..3a851dc 100644 --- a/05_container/README.md +++ b/05_container/README.md @@ -14,7 +14,7 @@ - **镜像标签约定**: - `latest` 或 `v1.0.0` 等:带标签的自定义镜像,示例中指定具体版本 - `24.04`、`8.4`:官方镜像的稳定版本分支 - - 生产环境建议:指定���确版本号(如 `nginx:1.28.0`、`mysql:8.4.4`)而非仅大版本号 + - 生产环境建议:指定确切版本号(如 `nginx:1.28.0`、`mysql:8.4.4`)而非仅大版本号 * [启动容器](5.1_run.md) * [守护态运行](5.2_daemon.md)