
这里方法出自于飞牛OS论坛大佬 tesssar 的方法!
https://club.fnnas.com/forum.php?mod=viewthread&tid=8440#authorposton93494
time="2025-06-21T09:46:30+08:00" level=warning msg="Reason: Get "https://index.docker.io/v2/": dial tcp 0.0.0.0:443: i/o timeout" container=/watchtower image="containrrr/watchtower:latest"
这是因为使用了默认Docker源进行更新,当然在国内默认源是有一些问题的,所以我们要改为国内源镜像
Docker Compose中
services:
allinone:
image: youshandefeiyang/allinone
container_name: allinone
privileged: true
restart: always
ports:
- "35455:35455"
network_mode: bridge
command:
image: youshandefeiyang/allinone 手动改为可用的国内镜像源地址,我这里感觉1ms.run的肥肠好,我就用他的了,改为:
services:
allinone:
image: docker.1ms.run/youshandefeiyang/allinone
container_name: allinone
privileged: true
restart: always
ports:
- "35455:35455"
network_mode: bridge
command:
然后保存,强制拉取一遍镜像!完工
© 版权声明
本站所有文章禁止转载!
