Difference between revisions of "Ecr:BatchGetImage"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* {{docker login}} | * {{docker login}} | ||
* [[ECS execution policy]] | * [[ECS execution policy]] | ||
+ | * [[amazonECSTaskExecutionRolePolicy]] | ||
== See also == | == See also == |
Revision as of 16:10, 29 May 2023
ecr:BatchGetImage
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ecr:GetAuthorizationToken", "ecr:BatchCheckLayerAvailability", "ecr:GetDownloadUrlForLayer", "ecr:BatchGetImage", "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource" : "*" } ] }
Errors
Error response from daemon: pull access denied for 0123456789.dkr.ecr.eu-west-1.amazonaws.com/your-repo, repository does not exist or may require 'docker login': denied: User: arn:aws:iam::12314234235:user/your-user is not authorized to perform: ecr:BatchGetImage on resource: arn:aws:ecr:eu-west-1:5435345354:repository/your-repo because no resource-based policy allows the ecr:BatchGetImage action
Related
docker login, PAT, docker login --help, ~/.dockercfg, ~/.docker/config.json
- ECS execution policy
- amazonECSTaskExecutionRolePolicy
See also
Advertising: