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
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…
4
votes
3 answers

How to automate deployment to ECS Fargate when new image is pushed to ECR repository

Firstly, this is specific to CDK - I know there are plenty of questions/answers around this topic out there but none of them are CDK specific. Given that best practices dictate that a Fargate deployment shouldn't look for the 'latest' tag in an ECR…
Andrei Sevtsenko
  • 213
  • 4
  • 15
4
votes
2 answers

docker push with AWS CodeBuild fails with exit status 1

I created my CodeBuild project triggered by CodePipeline and the 'docker push' step always fails with the 'Reason: exit status 1' error message Here are my build logs (replaced my org id by ): [Container] 2021/06/12 14:39:47 Entering…
julinho
  • 301
  • 3
  • 11
4
votes
0 answers

Jenkins not accessible due to "JVM is terminating. Shutting down Jetty" in ECS with no exceptions/errors

I am trying to deploy a Jenkins instance in an AWS ECS using a docker image I pushed to ECR. All the infrastructure required for this deployment was built using Terraform. So far, I managed to build and run a container based on the following Docker…
Marcelo Tataje
  • 3,849
  • 1
  • 26
  • 51
4
votes
1 answer

Does AWS charge for Fargate image pull from ECR in the same region?

I have: Fargate container Private ECR repository They're in the same account and region. Will AWS charge me for pulling images? ECR pricing page says Data transferred between Amazon Elastic Container Registry and Amazon EC2 within a single region…
Vova Pytsyuk
  • 599
  • 4
  • 6
4
votes
2 answers

ecr login from Jenkins returns unknown flag: --password-stdin

I'm trying to login to ecr to pull the image from Jenkins using sh '''aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin .dkr.ecr.us-east-1.amazonaws.com''' But it returns +…
Sowmya
  • 107
  • 4
  • 13
4
votes
2 answers

How to pull Helm chart from AWS ecr locally

We have one ecr repo on AWS. That contains all helm charts. This ecr is protected and someone assigned one role to me. this role allows me to all the images from aws cli console. Now I am using helm to deploy chart. so for what i used following…
keepmoving
  • 1,813
  • 8
  • 34
  • 74
4
votes
0 answers

Failing to register task definition due to Private repository credentials are not a supported authentication method for ECR

I have a docker image that contains multiple containers, one of which is hosted on a private repo on docker hub. I am trying to deploy my image onto ECS, after hosting the image on ECR, but I am receiving the error: Private repository credentials…
4
votes
3 answers

Nomad cannot pull other images if credential helper is in place

I am trying to pull images from my ecr repository as well as from dockerhub using Nomad. The problem is that if I don't pull those images myself, Nomad won't pull them and will complain with the error: Failed to find docker auth for repo…
Alan Sereb
  • 2,358
  • 2
  • 17
  • 31
4
votes
2 answers

Deploying multi-container docker application to AWS ECS Fargate using ECS-CLI

I need to deploy this project on AWS ECS (Preferably Fargate or EC2 worst case). Looking at the documentation I tried to deploy with single container and it works but with multi containers, due to the restrictions of ecs-cli I cannot use the…
4
votes
0 answers

How to deploy docker-compose flask project to AWS ECS in gitlab CI

My project is a flask project using docker-compose. And source code is in GitLab. I wanna auto-deploy to ECS with GitLab CI. Also, docker images are in ECR. But I faced following error. Subnet created: subnet-0ffc4936b92c Subnet created:…
4
votes
3 answers

How to get an Amazon ECR container URI for a specific model image in Sagemaker?

I want to know if it's possible to get an Amazon ECR container URI for a specific image programmatically (using AWS CLI or Python). For example, if I need the URL for the latest linear-learner (built-in model) image for the eu-central-1…
4
votes
2 answers

Update AWS ECR for every stable release in docker Hub

I have an docker public image, Now for some reason we had to shift it to AWS ECR,Now I am able to transfer the image to ECR from docker hub, but how to make sure that all the stable release in dockerhub will be pushed to AWS ECR, I want my ECR repo…
amit singh
  • 219
  • 4
  • 22
4
votes
1 answer

Multiple containers in one ECS cluster

I have a single Cluster running on ECS. At the moment, I have a single task definition and a single docker container running in the cluster. I would like to deploy a second container to the same cluster that will be running entirely separately. What…
4
votes
3 answers

Using AWS ECR with portainer push/pull images not working

I'm having trouble getting portainer to work properly with AWS ECR. I got my images up and running on ECR, if I run my docker-compose with the command line via SSH it's working as expected. If i do a simple docker pull…