-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
How can I use harbor as a proxy for dockerub using clair and dashboard? #6276
Comments
Can you share your |
@odg0318 |
@reasonerjt Anyway, it is a limitation in Harbor, is there a way to scan images pulled from dockerhub using |
I think that my |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey @odg0318, if your number of images is just a dozen, you can have a local docker machine in between. |
@sport3 |
I don't have a clue either. Basically this has to do with the way docker treats the images since it defaults to docker hub. Which is probably the reason why this is not available in third-party image repositories. Personally I'd find an additional proxy functionality similar to e.g. what artifactory does with mavenrepository/jcenter while also providing the manual uploaded packages a great feature to have. Is there an option to change the default host that docker uses for pulling? |
@sport3
|
@odg0318 This reads like two separate requirements, automatic creation of Harbor project during pull if it does not exist and ability of Harbor to act as pull through cache for docker-hub. The 1st requirement is not possible right now and we don't have plans to enable this anytime soon really, it adds quite a bit of complexity. The 2nd requirement is tracked here #8082, Harbor will front for dockerhub but for various other 3rd party registries both on-prem and cloud based |
Additionally, I want to scan the docker images cached through pull-through-cache using clair and see the scanned result in the dashboard. But you told me it seems to be hard to support that right now. Anyway, thanks for your keeping your eyes on my issue. |
Hello.
I try to make a cache-through registry using harbor.
I read the following document, https://github.com/goharbor/harbor/blob/master/contrib/Configure_mirror.md, and followed it as written.
Pulling docker image is ok but the downloaded image is not shown on harbor dashboard.
I expect that the download images from dockerhub are managed on dashboard and they are scanned using clair.
I am not sure that harbor is properly configured.
Thanks
The text was updated successfully, but these errors were encountered: