Questions tagged [amazon-ecr-public]

13 questions
11
votes
1 answer

Using a public ECR image for lambda function

Is it currently possible to use a public ECR image to deploy a lambda? I have tried to create a public ECR image but I see an error in the web interface. I'm seeing an error: "This is an invalid Elastic Container Registry Image…
motatoes
  • 828
  • 11
  • 26
4
votes
1 answer

Could not connect to the endpoint URL: "https://api.ecr-public.xxxxxxxxx.amazonaws.com/"

I have an Amazon ECR Public repository which is created in the ap-southeast-2 region. I tried to log in to the ecr-public with the following command. aws ecr-public get-login-password --region ap-southeast-2 | docker login --username AWS…
3
votes
0 answers

Can not pull public ECR image using AWS SageMaker Estimator

I would like to pass a public Docker Image on ECR through the image_uri parameter to the Estimator. However, the training job fails to find this image. I'm running my code using AWS SageMaker Notebook instance. from sagemaker.estimator import…
3
votes
0 answers

Unable to pull image from public ECR repository

I am simply trying to pull an image from ECR public repository, however is not working: docker pull public.ecr.aws/bitnami/golang:1.15 I get this error: pull access denied for public.ecr.aws/bitnami/golang, repository does not exist or may require…
Matteo
  • 2,256
  • 26
  • 42
2
votes
1 answer

what iam policies are requried to run ecr commands on ec2 instance that has assumed a role?

I have a small jenkins instance that uses terraform to deploy some stuff such as ECR When trying to apply changes i get this error error creating ECR Public repository: AccessDeniedException: User:…
2
votes
1 answer

Boto3 / ECR-Public errors

I'm trying to use the ecr-public client but I get similar errors when I execute any method. import boto3 client=boto3.client('ecr-public') client.get_authorization_token() error: botocore.exceptions.ClientError: An error occurred (InternalFailure)…
2
votes
1 answer

Getting error when calling `aws ecr-public get-login-password` locally

first time, long time! Getting this error: An error occurred (InternalFailure) when calling the GetAuthorizationToken operation (reached max retries: 2): When running: aws ecr-public get-login-password --region us-west-2 --profile
Jibbery
  • 31
  • 3
1
vote
0 answers

Does ECR public registry has native API support similar to ECR private registry?

I can see there are native API's available to query some of the data for repositories in ECR private registry. e.g. https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_BatchGetImage.html AWS SDK…
balaji
  • 1,075
  • 3
  • 12
  • 26
1
vote
3 answers

how to list images available in a public amazon ecr repo?

i'd like use the aws cli to list images available here: https://gallery.ecr.aws/lambda/nodejs when i try the following command: aws ecr-public describe-image-tags --repository-name lambda/nodejs i get this error: User: arn:aws:sts:: is…
0
votes
1 answer

Remove ECR image tag despite ImageReferencedByManifestList error

I would like to be able to delete an ECR image tag but without deleting the underlying image itself. The use case is a temporary tag that was used just to push an image, which was then referenced as part of a manifest list, and needs to be…
Sam Salisbury
  • 1,066
  • 11
  • 19
0
votes
1 answer

AWS Public Repository Push Image issue

I have created one ECR repository as public. Now, from my on-premises docker server, I build the image and I wanted to push the image in AWS ECR as public image. AWS has given option view push option but It did not work, getting below error while…
0
votes
1 answer

Facing issue while running codebuild

I am trying to build a sample java project and trying to build an docker image and pushing that image to AWS ECR, but facing an issue while logging into the AWS ECR. Error: COMMAND_EXECUTION_ERROR: Error while executing command: aws ecr-public…
Tharak
  • 1
  • 1
0
votes
1 answer

Is there an Amazon ECR Public Gallery equivalent for openjdk:8-jdk-alpine?

I have a Dockerfile that pulls a Docker Hub image as follows FROM openjdk:8-jdk-alpine However, sometimes I get blocked by the pull rate limit from free usage. This answer suggests to use Amazon ECR Public Gallery images, I've looked a while but I…