Portainer
可选方案:把仓库中的 docker-compose.portainer.yml 作为 Portainer Stack 部署。
创建 Stack
Portainer 是可选项
Vyline 只用 Docker Engine 和 docker compose 就能启动和更新。Portainer 只是需要图形化管理多个 container 时可以添加的管理界面,不是 Vyline 的依赖。
使用 Portainer 时,在 Stacks 中使用 docker-compose.portainer.yml。标准 image 是 ghcr.io/tqmane/vyline:latest。
更新
- pull 最新 image。
- Update / Redeploy Stack。
- 确认 Vyline container 已 recreate。
- 确认
data/和storage/仍指向相同 bind mount。
Android real chroot
部分 Android real-chroot 主机中,bridge published port 会与 Android routing/netfilter 不匹配。只有 Portainer 也出现同类症状时,才可以把 host network 作为管理 UI 的诊断规避方案。这不是普通 Linux 的默认设置。
docker volume create portainer_data
docker run -d \
--name portainer \
--restart=always \
--network host \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:latest \
--http-disabledhttps://<host-ip>:9443Docker socket 属于高权限资源
Portainer 能访问 /var/run/docker.sock,也就能够管理主机上的 container。不要在无认证情况下把管理界面直接公开到 Internet。