feat(wiki): complete all remaining 85 raw files ingestion (auto-script)
This commit is contained in:
37
wiki/sources/Docker容器与Volume清理.md
Normal file
37
wiki/sources/Docker容器与Volume清理.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "Docker容器与Volume清理"
|
||||
type: source
|
||||
tags: [Docker, Portainer, Volume, 清理]
|
||||
date: 2025-03-14
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[raw/Home Office/如何删除旧的废弃的docker container +volume.md]]
|
||||
|
||||
## Summary
|
||||
- 核心主题:清理旧的Docker容器、Volume和网络
|
||||
- 问题域:Portainer升级后旧容器/Volume残留导致警告
|
||||
- 方法/机制:docker stop/rm删除容器,docker volume rm删除卷,docker network rm删除网络
|
||||
- 结论/价值:干净的重装流程——stop+rm+volume rm+compose up
|
||||
|
||||
## Key Claims
|
||||
- 查看容器:docker ps -a | grep portainer
|
||||
- 停止容器:docker stop portainer
|
||||
- 删除容器:docker rm portainer或docker rm -f portainer
|
||||
- 查看Volume:docker volume ls | grep portainer
|
||||
- 删除Volume:docker volume rm portainer_data
|
||||
- 删除Network:docker network rm portainer_network
|
||||
- 完整重装:docker stop && docker rm && docker volume rm && docker network rm && docker compose up -d
|
||||
|
||||
## Key Concepts
|
||||
- [[Docker清理]]:容器/Volume/Network的删除流程
|
||||
|
||||
## Key Entities
|
||||
- [[Docker]]:容器化平台
|
||||
- [[Portainer]]:Docker管理UI
|
||||
|
||||
## Connections
|
||||
- [[Docker容器与Volume清理]] ← documents ← [[Docker清理]]
|
||||
|
||||
## Contradictions
|
||||
- 无冲突
|
||||
Reference in New Issue
Block a user