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

Proxy Cache #20516

Closed
antwacky opened this issue May 29, 2024 · 2 comments
Closed

Proxy Cache #20516

antwacky opened this issue May 29, 2024 · 2 comments
Assignees

Comments

@antwacky
Copy link

I hate to reference this issue once again, but I'm not sure how to proceed.

The issue mentions that the docker client, on pull, converts the tag to a SHA and prevents harbor from being able to cache the image with a tag.

This behaviour means that we are hitting the dockerhub rate limit on a regular basis - how do I move past this? Can Harbor not match the SHA with the cached SHA image?

@stonezdj stonezdj self-assigned this May 30, 2024
@antwacky
Copy link
Author

I tried adding my credentials to the registry configured for the proxy cache but it doesn't seem to be using them.

I'm getting the rate limit error from Docker, although I can see that my account has 197 pulls remaining. I expect the proxy cache to be using my authenticated account when pulling from Dockerhub?

@antwacky
Copy link
Author

Sorted it, it was nothing to do with the proxy. Rather I didn't realise that docker buildx required seperate configuration to configure it to use the proxy.

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

2 participants