1
jifengg 2022-06-17 16:38:20 +08:00
|
2
hefish 2022-06-17 16:42:28 +08:00
不能直接访问公网啊,还要挂 socks 才行吗?
|
3
fuge OP @jifengg 感谢回复,报如下的错误。
curl https://registry-1.docker.io/v2/ curl: (60) Peer's Certificate issuer is not recognized. More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. 在浏览器打开 https://registry-1.docker.io/v2/ 显示的内容是 {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]} |
5
hertzry 2022-06-17 16:48:10 +08:00 via Android
不能用代理。
|
6
hertzry 2022-06-17 16:49:51 +08:00 via Android
建议你手动下载镜像,然后 docker load 。
|
9
bomb77 2022-06-17 16:53:00 +08:00
配置个国内 docker 源镜像试下,别走代理,比如用 daocloud 的 https://www.daocloud.io/mirror
|
10
my3157 2022-06-17 16:55:05 +08:00
|
11
my3157 2022-06-17 16:55:45 +08:00
看错问题了 :dog:
|
12
wccc 2022-06-17 17:05:37 +08:00
yum update ca 更新下?
|
13
hertzry 2022-06-17 17:11:13 +08:00 via Android
你从别的机器上 docker save 这个镜像,再 docker load 试试?
|
14
hertzry 2022-06-17 17:12:25 +08:00 via Android
应该是这个镜像还需要下载别的东西。
|
15
hertzry 2022-06-17 17:14:30 +08:00 via Android
换一个别的代理,这个代理证书不行。我之前用公用的代理也是这个错误,换了自己的代理就好了。
|
16
xtinput 2022-06-17 17:14:54 +08:00
centos 不是不维护了吗?
|
20
oott123 2022-06-17 21:06:19 +08:00
yum install ca-certificates
|
21
emptystring 2022-06-18 01:47:44 +08:00 via Android
网络环境配置有问题。
|