mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 04:14:38 +00:00
Fix ascii figures
This commit is contained in:
@@ -91,16 +91,15 @@ docker.io/library/ubuntu:24.04
|
||||
|
||||
从输出可以看到,镜像是**分层下载**的:
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ ubuntu:24.04 镜像 │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ 第3层 c8299583700a ───────► 已存在,跳过下载 │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ 第2层 be13a9d27eb8 ───────► 下载中... 完成 │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ 第1层 92dc2a97ff99 ───────► 下载中... 完成 │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
```mermaid
|
||||
flowchart TD
|
||||
subgraph Image ["ubuntu:24.04 镜像"]
|
||||
direction TB
|
||||
L3["第3层 c8299583700a<br/>(已存在,跳过下载)"]
|
||||
L2["第2层 be13a9d27eb8<br/>(下载中... 完成)"]
|
||||
L1["第1层 92dc2a97ff99<br/>(下载中... 完成)"]
|
||||
L3 --- L2 --- L1
|
||||
end
|
||||
```
|
||||
|
||||
如果本地已有相同的层,Docker 会跳过下载,节省带宽和时间。
|
||||
|
||||
Reference in New Issue
Block a user