AliyunContainerService/image-syncer

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

FeiYing9 opened this issue · 2 comments

目标仓库是个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:

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

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