不对,刚才可以拉的机器是腾讯云,换了其他机器还是不行
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://mirror.ccs.tencentyun.com/ Live Restore Enabled: false
docker pull mzz2017/v2raya
docker pull swxk521/udp2raw
错误日志
sudo journalctl -u docker.service -f
Sep 23 21:31:26 gateway dockerd[51811]: time="2024-09-23T21:31:26.642633279+08:00" level=info msg="Attempting next endpoint for pull after error: Get \"
https://mirror.ccs.tencentyun.com/v2/\": dial tcp: lookup
mirror.ccs.tencentyun.com on 10.13.1.7:53: no such host" spanID=7bd8e1faeac6c529 traceID=c91ef66d2a19e9a64d8fda2b34236a77
Sep 23 21:31:41 gateway dockerd[51811]: time="2024-09-23T21:31:41.643277798+08:00" level=warning msg="Error getting v2 registry: Get \"
https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" spanID=7bd8e1faeac6c529 traceID=c91ef66d2a19e9a64d8fda2b34236a77
ping
mirror.ccs.tencentyun.comPING
mirror.ccs.tencentyun.com (127.0.0.2) 56(84) bytes of data.
64 bytes from 127.0.0.2 (127.0.0.2): icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from 127.0.0.2 (127.0.0.2): icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 127.0.0.2 (127.0.0.2): icmp_seq=3 ttl=64 time=0.050 ms
这个应该只有腾讯云能用,腾讯云机器可以 ping 通
PING
mirror.ccs.tencentyun.com (169.254.0.51) 56(84) bytes of data.
64 bytes from 169.254.0.51: icmp_seq=1 ttl=64 time=0.105 ms
64 bytes from 169.254.0.51: icmp_seq=2 ttl=64 time=0.144 ms
64 bytes from 169.254.0.51: icmp_seq=3 ttl=64 time=0.115 ms
换了其他人搭建在 cf worker 的源也不行,比如
{
"registry-mirrors": ["
https://dockerhub.icu"],
"log-driver":"json-file",
"log-opts": {"max-size":"1g", "max-file":"1"}
}