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 doesn't support pull cache as a mirror registry #120
Comments
When enabling the mirror pulling features, the registry's original push/pull does not work any more. So that's why Harbor does not support mirror for now. We may consider a feature to support mirror in the future. |
The registry's original push/pull does not work any more, we have not test it yet. If it's true,I think it can be configured as option. @hainingzhang |
yes, it could be a feature that the registry serves as a mirror only, not a "normal" registry. We will consider to put this in our roadmap. |
We don't understand why the registry's original push/pull does not work any more if enabling the mirror pulling features. In fact, I modify the |
yes,if modifying the |
same scenario with @vergilchiu, it can sucessfully pulling images and caching, but fails with pushing images to private registry |
I believe this is a limitation in docker registry, see #220 |
@reasonerjt Thanks! This helps a lot! I've been searching this issue a while. |
We use harbor as our private registry, but it seems that harbor has not supported pull cache yet. If I pull an image which doesn't exist in the harbor, the image can't be cached
automatically. To configure a registry to run as a pull through cache, the addition of a proxy section is required to the config file(
config.yml
),see https://github.com/docker/distribution/blob/master/docs/mirror.mdThe text was updated successfully, but these errors were encountered: