Skip to content

pull access denied when accessing ECR repositories #647

Answered by abiosoft
rainkinz asked this question in Q&A
Discussion options

You must be logged in to vote

I think you should use ecr-credential-helper https://github.com/awslabs/amazon-ecr-credential-helper and modify your docker config to something to include the following.

{
  "credHelpers": {
    "public.ecr.aws": "ecr-login",
    "<AWS_ACCOUNT_ID>.dkr.ecr.<REGION>.amazonaws.com": "ecr-login"
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rainkinz
Comment options

Answer selected by rainkinz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants