Fix header hierarchy levels

This commit is contained in:
yeasy
2026-03-31 20:25:52 -07:00
parent e3e21e7a7d
commit 4937192bf1
2 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -137,7 +137,7 @@ RUN apt-get update && \
```
#### 查看镜像的分层
### 2.1.5 查看镜像的分层
```bash
## 查看镜像的历史(每层的构建记录)
@@ -153,7 +153,7 @@ a6bd71f48f68 2 weeks ago CMD ["nginx" "-g" "daemon off;"] 0B
...
```
### 2.1.5 镜像的标识
### 2.1.6 镜像的标识
Docker 镜像有多种标识方式
@@ -198,7 +198,7 @@ nginx latest sha256:6db391d1c0cfb30588ba0bf72ea999404f2764184d8b8d10d89e8
```
> 💡 笔者建议在生产环境使用镜像摘要而非标签因为标签可以被覆盖但摘要是不可变的
### 2.1.6 镜像的来源
### 2.1.7 镜像的来源
Docker 镜像可以通过以下方式获取