Forráskód Böngészése

docs: update todo.md with Chapter 8-11 completion status

yangyi 2 napja
szülő
commit
4ed9f407b0
1 módosított fájl, 47 hozzáadás és 1 törlés
  1. 47 1
      todo.md

+ 47 - 1
todo.md

@@ -62,6 +62,43 @@
 - [x] 7.4 错误处理机制
 - [x] Review & Commit
 
+### Chapter 8: 容器高级配置与生产化 ✅
+- [x] HostConfig 重启策略(RestartPolicy)
+- [x] 资源限制(Memory / NanoCPUs)
+- [x] 用户与工作目录(User / WorkingDir / ReadonlyRootfs)
+- [x] 端口映射(ExposedPort / Ports)
+- [x] 生产风格容器综合演示
+- [x] JUnit 5 测试用例(5 项通过)
+- [x] Review & Commit
+
+### Chapter 9: 数据卷与网络管理 ✅
+- [x] 数据卷 CRUD(create/list/inspect/remove)
+- [x] 挂载卷到容器(Bind)与数据持久化
+- [x] 自定义 bridge 网络与容器 DNS
+- [x] JUnit 5 测试用例(4 项通过)
+- [x] Review & Commit
+
+### Chapter 10: 私有镜像仓库与推送 ✅
+- [x] 本地 registry:2 容器启动
+- [x] authCmd 认证(等价 docker login)
+- [x] tag + push 完整流程
+- [x] pull 验证闭环
+- [x] JUnit 5 测试用例(2 项通过)
+- [x] Review & Commit
+
+### Chapter 11: 运行监控与日常维护 ✅
+- [x] stats(单次快照)与 top(进程列表)
+- [x] logs -f(实时跟随日志)
+- [x] containerDiff(文件系统变更查看)
+- [x] copyToContainer(docker cp 放入方向)
+- [x] commit(容器转镜像)
+- [x] export(文件系统导出);import 在 containerd 下不稳定,已文档说明
+- [x] update(动态更新内存限制)
+- [x] restart / pause / unpause / rename
+- [x] prune(清理未使用资源,测试中不执行以防误删)
+- [x] JUnit 5 测试用例(8 项通过)
+- [x] Review & Commit
+
 ## 源码结构
 | 类名 | 说明 |
 |------|------|
@@ -71,6 +108,10 @@
 | `ImageBuildAPI` | 镜像构建(从 Dockerfile 构建) |
 | `ContainerManageAPI` | 容器管理(create/start/stop/kill/remove/list) |
 | `ContainerOpsAPI` | 容器运维(logs/exec/wait/copy) |
+| `ContainerAdvancedAPI` | 容器高级创建(HostConfig:重启策略/资源限制/端口映射) |
+| `VolumeNetworkAPI` | 数据卷与网络(卷 CRUD/持久化/自定义网络/DNS) |
+| `RegistryPushAPI` | 私有镜像仓库(registry/auth/tag/push/pull 闭环) |
+| `MaintenanceOpsAPI` | 运维监控(stats/top/logs -f/diff/commit/export/update/prune) |
 
 ## 编码规范
 - 日志输出统一使用 SLF4J Logger,禁止 `System.out.println`
@@ -85,4 +126,9 @@
 - `feat: add Chapter 4 - image build APIs from Dockerfile`
 - `feat: add Chapter 5 - container management APIs (create/start/stop/kill/remove/list/inspect)`
 - `feat: add Chapter 6 - container ops APIs (logs/exec/wait/copy)`
-- `feat: add Chapter 7 - DockerClient core objects and API reference table`
+- `feat: add Chapter 7 - DockerClient core objects and API reference table`
+- `feat: add inline docker CLI command comparisons across all APIs, fix save/load and copyFromContainer implementations`
+- `feat: add Chapter 8 advanced container creation (HostConfig) and Chapter 9 volume/network management`
+- `feat: add Chapter 10 - image push to local registry (docker login/tag/push round trip)`
+- `feat: add Chapter 11 - monitoring and maintenance ops (stats/top/logs/commit/export/prune)`
+- `docs: add Chapter 8-11 tutorial, fix pingCmd and add prune to cheat sheet`