Questions tagged [amazon-ecr]

Amazon ECR stands for "Amazon Elastic Container Registry". It is a part of Amazon Web Services (AWS) and is a managed Docker container registry that stores and manages Docker container images.

Amazon Elastic Container Registry (ECR) is a fully managed container registry that makes it easy for developers to store, manage, and deploy container images. Amazon ECR eliminates the need to operate your own container registry or worry about scaling the underlying infrastructure. Amazon ECR hosts your images in a highly available and scalable architecture, allowing you to reliably deploy containers for your applications. Integration with AWS Identity and Access Management (IAM) provides resource-level control of each repository.

For more details about the product, click here. To get started with Amazon ECR, please see the User Guide.

888 questions
12
votes
3 answers

Tagging multi-platform images in ECR creates untagged manifests

I've started using docker buildx to tag and push mutli-platform images to ECR. However, ECR appears to apply the tag to the parent manifest, and leaves each related manifest as untagged. ECR does appear to prevent deletion of the child manifests,…
12
votes
4 answers

AWS EKS 0/1 nodes are available. 1 insufficient pods

We are trying to deploy a dot net core API service to amazon EKS using ECR. The deployment was successful, but the pods are in pending status. Below are the detailed steps we followed. Steps followed. 1. Created a docker image 2. Pushed the image…
snehgin
  • 191
  • 1
  • 1
  • 8
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
10
votes
3 answers

How to deploy helm charts which are stored in AWS ECR using argoCD

I want to deploy helm charts, which are stored in a repository in AWS ECR, in the kubernetes cluster using ArgoCD. But I am getting a 401 unauthorized issue. I have pasted the entire issue below Unable to create application: application spec is…
Abhishek R
  • 101
  • 1
  • 5
10
votes
2 answers

How to pull AWS Lambda container image

I'm trying to run a Docker container on AWS Lambda. Specifically I'm following this official tutorial I have the following Dockerfile FROM public.ecr.aws/lambda/nodejs:12 COPY app app.js package.json /var/task/ RUN npm install CMD [ "app.handler"…
Dirk Hoekstra
  • 942
  • 12
  • 16
10
votes
1 answer

Storing images in AWS ECR using namespaces

AWS claims to support namespacing rules on repos but I don’t follow how you're supposed to set them up. According to the docs here: Repository names can support namespaces, which you can use to group similar repositories. For example if there are…
sma
  • 9,449
  • 8
  • 51
  • 80
10
votes
2 answers

How does "latest" tag work in an ECS task definition and container instances pulling from ECR?

I'm having problems using latest tag in an ECR task definition, where image parameter has value like XXXXXXXXXXXX.dkr.ecr.us-east-1.amazonaws.com/reponame/web:latest. I'm expecting this task definition to pull an image with latest tag from ECR once…
ux.engineer
  • 10,082
  • 13
  • 67
  • 112
10
votes
1 answer

Docker push to Amazon ECR slows or freezes

Recently, my docker push commands to a remote ECR registry have become extremely, extremely slow, sometimes maybe frozen. It hangs long (or forever) in Preparing, or Waiting, or half-way through Pushing, or at 100% Pushing. I've tried this in…
salezica
  • 74,081
  • 25
  • 105
  • 166
10
votes
3 answers

How do you set a lifecycle policy for an ECR for tagged with any prefix?

I want to set a lifecycle policy for my ECR. For all tagged images to have image count more than 1. It's currently set to Prefix and can't set it blank. aws ecr policy console: Thanks in advance.
zyrahjane
  • 349
  • 3
  • 13
8
votes
1 answer

How can I solve getting Unauthorized Access 401 error when pulling aws deep learning container with docker?

I tried building a detectron2 image with docker, in order to use with AWS SageMaker. The dockerfile looks like this: ARG REGION="eu-central-1" FROM 763104351884.dkr.ecr.$REGION.amazonaws.com/pytorch-training:1.6.0-gpu-py36-cu101-ubuntu16.04 RUN…
8
votes
2 answers

Configure ECR as a proxy that pulls from Docker Hub

Lets say I have an EKS cluster, an EC2 instance and my local machine, I can pull images from my private ECR without any issues. But when I pull a generic image like nginx, it will come from Docker Hub straight to me. Would it be possible to redirect…
Trietch
  • 101
  • 1
  • 5
8
votes
0 answers

Docker unable importing cache manifest

I have Docker images, that were pulled from a private repo: docker pull xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/image/name:base base: Pulling from image/name Digest:…
Artem Khodos
  • 172
  • 1
  • 12
8
votes
3 answers

Docker Image tagging in ECR

I am pushing docker image in AWS ECR using Jenkins. While pushing the image I am providing tag as $Build_Number. So in ECR repo I have images with tags like 1,2,3,4. But when I am trying to pull the image from EC2 with below command from Jenkins…
AWS_Lernar
  • 627
  • 2
  • 9
  • 26
8
votes
2 answers

Jenkins Amazon ECR: no basic auth credentials

I'm not able to push ocker images to Amazon ECR with Jenkins Pipeline: I always get no basic auth credentials :-( Here is my setup: Jenkins 2.46.2 Amazon ECR plugin 1.4 I've added AWS credentials aws-jenkins to Jenkins (tested locally and…
Cedric Thiebault
  • 1,015
  • 1
  • 15
  • 28
7
votes
3 answers

AWS Lambda doesn't automatically pick up the latest image?

I have a Lambda deployed on AWS. My Lambda is deployed uses a container to run my code. Whenever after we deploy a new image, we have to manually copy paste the URL in Lambda's configuration. Even if in ECR latest image has the URI which is already…
m00s3
  • 124
  • 7
1 2
3
59 60