chore: remove unused historic image files

This commit is contained in:
Baohua Yang
2026-02-21 16:43:31 -08:00
parent 79ac9c639a
commit 6aa7a51fef
124 changed files with 1001 additions and 492 deletions

View File

@@ -19,6 +19,8 @@ flowchart LR
### 数据卷的特性
相关信息如下表
| 特性 | 说明 |
|------|------|
| **持久化** | 容器删除后数据仍然保留 |
@@ -113,6 +115,7 @@ $ docker volume inspect my-vol
```
**关键字段**
- `Mountpoint`数据卷在宿主机上的实际存储位置
- `Driver`存储驱动 (默认 local也可以用第三方驱动)
@@ -137,7 +140,7 @@ $ docker run -d \
| 参数 | 说明 |
|------|------|
| `source` | 数据卷名称不存在会自动创建 |
| `source` | 数据卷名称 (不存在会自动创建)|
| `target` | 容器内挂载路径 |
| `readonly` | 可选只读挂载 |
@@ -156,11 +159,13 @@ $ docker run -d \
#### 两种方式对比
相关信息如下表
| 特性 | --mount | -v |
|------|---------|-----|
| 语法 | 键值对更清晰 | 冒号分隔更简洁 |
| 自动创建卷 | source 不存在会报错 | 自动创建 |
| 推荐程度 | 推荐更明确 | 常用更简洁 |
| 推荐程度 | 推荐 (更明确)| 常用 (更简洁)|
#### 只读挂载
@@ -312,6 +317,7 @@ $ docker run --rm \
```
**原理**
1. 创建临时容器
2. 挂载要备份的数据卷到 `/source`
3. 挂载当前目录到 `/backup`