Auto-sync: 2026-04-22 08:02
This commit is contained in:
@@ -42,9 +42,23 @@ services:
|
||||
## Used By
|
||||
- [[用docker安装it-tools]]
|
||||
- [[用docker安装transmission]]
|
||||
- [[如何删除旧的废弃的docker-container-volume]]
|
||||
- [[Navidrome]]
|
||||
- [[Jellyfin]]
|
||||
- [[RSSHub]]
|
||||
- [[Portainer]]
|
||||
|
||||
## External Mode
|
||||
Compose 文件中声明 `external: true` 可让 Docker 复用已存在的 Volume 或 Network 而非创建新的,避免重装时的命名冲突警告:
|
||||
```yaml
|
||||
volumes:
|
||||
portainer_data:
|
||||
external: true
|
||||
|
||||
networks:
|
||||
portainer_network:
|
||||
external: true
|
||||
```
|
||||
|
||||
## Related Concepts
|
||||
- [[Docker-Image]]
|
||||
|
||||
Reference in New Issue
Block a user