1.1 KiB
1.1 KiB
title, type, tags, date, source_file
| title | type | tags | date | source_file | |||
|---|---|---|---|---|---|---|---|
| 如何删除旧的废弃的docker container + volume | source |
|
2026-04-14 | raw/Technical/Home Office/🟠如何删除旧的废弃的docker container +volume.md |
Summary
- 核心主题:清理旧的Docker容器、卷和网络
- 问题域:Docker资源清理
- 方法/机制:使用docker命令停止、删除容器和卷
- 结论/价值:解决WARN提示(网络/卷已存在但不属于当前项目)
Key Claims
- docker rm -f强制删除运行中的容器
- docker volume rm删除悬空卷
- docker network rm删除孤立网络
- docker compose down可一次性清理整个compose项目
Key Concepts
- Docker容器清理:停止并删除旧容器
- Docker卷管理:清理未使用的Docker数据卷
- Docker网络清理:删除孤立网络
Key Entities
Connections
- Docker ← 管理 ← Docker容器清理
- Docker ← 管理 ← Docker卷管理
- Docker ← 管理 ← Docker网络清理