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

[ECR] [BUG]: pull through cache doesn't support image with / in the name #2354

Closed
tuotempo opened this issue May 17, 2024 · 1 comment
Closed
Labels
Proposed Community submitted issue

Comments

@tuotempo
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
Pull through cache doesn't support image with / in the name so we can't cache some images from docker hub

Which service(s) is this request for?
ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Pull through cache doesn't support image with / in the name so we can't cache some images from docker hub.
Example of pull that fail:
docker pull <awsid>.dkr.ecr.eu-west-1.amazonaws.com/docker-hub/library/percona/percona-xtradb-cluster-operator:1.14.0 Error response from daemon: pull access denied for <awsid>.dkr.ecr.eu-west-1.amazonaws.com/docker-hub/library/percona/percona-xtradb-cluster-operator, repository does not exist or may require 'docker login': denied: The authentication to the upstream registry failed. Verify that the credentials provided in the pull through cache rule are correct, and try again.
Are you currently working around this issue?
Actually i need to create manually the repository into ECR and push also manually the image to create the cache

@tuotempo tuotempo added the Proposed Community submitted issue label May 17, 2024
@tuotempo
Copy link
Author

Sorry, i have found that the problem was the library path. So if you want to use other repo you need only to omit /library, in my case the correct path is:
<awsid>.dkr.ecr.eu-west-1.amazonaws.com/docker-hub/percona/percona-xtradb-cluster-operator:1.14.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

1 participant