如何在飞牛上部署
飞牛版本不是最新版本,如何更新到最新版本。
应用商店只能等飞牛更新,相关程序早就提交了。也一直在催促
为啥飞牛里面更新,一直提示网络有问题,飞牛的镜像仓库下载没问题,ssh里面docker pull 也没问题,再dc里面更新容器的时候拉取镜像一直提示错误。 详细进度 Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
应用商店只能等飞牛更新,相关程序早就提交了。也一直在催促
services:
dockerCopilot:
image: 0nlylty/dockercopilot:latest
container_name: dockercopilot
network_mode: bridge
restart: always
environment:
- secretKey=你的密码 #自己设置密码
- TZ=Asia/Shanghai
- DOCKER_HOST=unix:///var/run/docker.sock
#- hubURL=https://docker.nju.edu.cn
- DelOldContainer=true
ports:
- "12712:12712"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /vol1/1000/DockerConfig/dockercopilot:/data #自己设置路径。目前存储备份文件,未来可能存储配置文件
privileged: true