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

目标harbor配置了https访问域名,是否支持同步? #96

Open
FeiYing9 opened this issue May 6, 2022 · 2 comments
Open

目标harbor配置了https访问域名,是否支持同步? #96

FeiYing9 opened this issue May 6, 2022 · 2 comments

Comments

@FeiYing9
Copy link

FeiYing9 commented May 6, 2022

目标仓库是个https访问域名方式的harbor,在auth.json里添加了'insecure':false,但是在同步的时候报错如下:

Check blob sha256:a834d7c95167a3e129adb00a5ddbaf5d3c035ad748ff7ee1273373d150457820(45381397) to weharbor.xxx.com/v440/xxx-consumer:2.1.7-yiyong exist error: error pinging docker registry weharbor.xxx.com: Get "https://weharbor.xxx.com/v2/": x509: certificate signed by unknown authority

如何提供证书配置或者跳过认证? 另外目的harbor中没有v440这个namespace貌似也会出错?

Environment

  • image-syncer version: 1.3.1
  • OS (e.g. cat /etc/os-release): centos7
  • Registry version (e.g. habor): harbor 2.5.0
  • Others:
@FeiYing9 FeiYing9 changed the title harbor配置了https访问域名,是否支持同步? 目标harbor配置了https访问域名,是否支持同步? May 6, 2022
@stefiane
Copy link

stefiane commented Jun 1, 2022

auth.json中支持添加自己的证书吗?

@charlesqing
Copy link

同问,harbor源库和目标库都配置了https访问,image-syncer支持https登录访问吗?

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

3 participants