Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持非安全仓库的镜像同步 #75

Open
TangxingZhou opened this issue Jul 14, 2021 · 6 comments
Open

不支持非安全仓库的镜像同步 #75

TangxingZhou opened this issue Jul 14, 2021 · 6 comments

Comments

@TangxingZhou
Copy link

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

@wangr0031
Copy link

可以试试这个工具是否可以:
https://github.com/wct-devops/image-transmit

@xavi713
Copy link

xavi713 commented Aug 16, 2021

这个直接在auth或config的配置中对相应的registry配置 "insecure": true即可

@willzhang
Copy link

这个直接在auth或config的配置中对相应的registry配置 "insecure": true即可

配置也不行,无效

@IWANTBAT
Copy link

IWANTBAT commented Nov 9, 2021

应该是两个都要设置"insecure": true。源和目的

@rickywu
Copy link

rickywu commented May 25, 2022

auth.json里配置源和目标"insecure": true,还是无效

@YouZhengChuan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants