Harbor: Image Replication for Quay.io

Created on 26 Jul 2019  路  4Comments  路  Source: goharbor/harbor

We would like to use Harbor as "gateway" registry for our kubernetes environments so that every image is security scanned. We would like to provide our developer the possibility to import external images. Currently, the image replication from Docker Hub works really well. But sadly, the image replication from quay.io doesn't work. Every transfer tasks of a quay.io image ends like this:

2019-07-25T20:44:11Z [INFO] [/replication/transfer/image/transfer.go:95]: client for source registry [type: docker-registry, URL: https://quay.io, insecure: true] created
2019-07-25T20:44:11Z [INFO] [/replication/transfer/image/transfer.go:105]: client for destination registry [type: harbor, URL: http://harbor-core, insecure: true] created
2019-07-25T20:44:11Z [INFO] [/replication/transfer/image/transfer.go:138]: copying dexidp/dex:[v2.14.0](source registry) to argocd/dex:[v2.14.0](destination registry)...
2019-07-25T20:44:11Z [INFO] [/replication/transfer/image/transfer.go:157]: copying dexidp/dex:v2.14.0(source registry) to argocd/dex:v2.14.0(destination registry)...
2019-07-25T20:44:11Z [INFO] [/replication/transfer/image/transfer.go:261]: pulling the manifest of image dexidp/dex:v2.14.0 ...
2019-07-25T20:44:12Z [ERROR] [/replication/transfer/image/transfer.go:268]: failed to pull the manifest of image dexidp/dex:v2.14.0: missing signature key
2019-07-25T20:44:12Z [ERROR] [/replication/transfer/image/transfer.go:143]: missing signature key

Quay.io was created as Endpoint under "Registries" with:
Provider: docker-registry
ExternalUrl: https://quay.io

I tested several different images from quay.io but I could not replicate one of them. So I guess it's not supported yet.

As Quay.io is one of the largest registries it would be very useful if the replication would be supported too.

arereplication kinrequirement

All 4 comments

@niiku Yep锛宧arbor has not provided the implementation of quay.io adapter, as you say, Quay.io is one of the largest registries, so i will do some work for quay.io adapter, it will be supported later.

@chlins Thank you for your answer. Let me know if I can help you.

@niiku replication to / from Quay is now supported in latest release : https://github.com/goharbor/harbor/releases/tag/v1.10.0. Give it a go and let us know what you think. Thanks!

@xaleeks Please excuse the late answer. When I tested the feature in January it still didn't work for me. But I just installed the latest version and it works perfectly fine! Many thanks for the awesome work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cedvan picture cedvan  路  3Comments

steveal picture steveal  路  3Comments

cten picture cten  路  3Comments

a-kinder picture a-kinder  路  3Comments

272909106 picture 272909106  路  4Comments