Open TangxingZhou opened 3 years ago
可以试试这个工具是否可以: https://github.com/wct-devops/image-transmit
这个直接在auth或config的配置中对相应的registry配置 "insecure": true即可
这个直接在auth或config的配置中对相应的registry配置 "insecure": true即可
配置也不行,无效
应该是两个都要设置"insecure": true。源和目的
auth.json里配置源和目标"insecure": true,还是无效
auth.json里配置源和目标"insecure": true,还是无效
我也遇到同样的问题,不过按照这个解决方案解决了
应该是两个都要设置"insecure": true。源和目的
Failed to executed synchronizing blob sha256:SHA256 from host1:5000/img/name:tag to host2:5000/img/name:tag: failed to check blob sha256:xxxx(167) exist: pinging container registry host2:5000: Get "https://host2:5000/v2/": http: server gave HTTP response to HTTPS client. Now 2/63 tasks have been processed.
解决方案 auth.yaml
中添加设置:
"host1:5000":
insecure: true
"host2:5000":
insecure: true
"host1":
insecure: true
"host2":
insecure: true
ERRO[2021-07-14 10:39:57] Generate sync task 【src img】 to 【dest img】 error: get tags failed from 【src img】 error: error pinging docker registry 【src registry】: Get https://【src registry】/v2/: http: server gave HTTP response to HTTPS client