Closed Gloryandel closed 1 month ago
services:
qbittorrentee:
image: superng6/qbittorrentee:latest
container_name: qbittorrentee
hostname: Arc
ports:
- 8080:8080 # WebUI
- 6881:6881
- 6881:6881/udp
volumes:
- ./config:/config
- ./downloads:/downloads
environment:
- TZ=Asia/Shanghai
- PUID=0
- PGID=0
restart: unless-stopped
无根容器反而希望以 root 运行,如果无 PUID 和 PGID 时默认以 root 就很好
Podman 无根容器中强制修改目录权限,希望略微做适配
容器内部权限是对应统一的 root,在无根容器中反而不需要修改