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
2 answers

Getting "InvalidSignatureException" when trying to run "aws ecr-get-login-password" command in Azure DevOps pipeline shell

I want to build and deploy Docker images from Azure DevOps to AWS ECR. I followed this tutorial - https://www.devguides.dev/how-to-build-and-deploy-docker-images-from-azure-devops-to-aws-ecr/ I keep getting the following error: An error occurred…
ErnieAndBert
  • 1,344
  • 3
  • 21
  • 43
4
votes
2 answers

Docker Container not working in AWS ECS using AWS ECR

I've single docker container and have to deploy on AWS Cloud using AWS ECR with Elastic Beanstalk. I'm using Dockerrun.aws.json file to provide the information about repository details. I have pushed my image to my docker hub and Elastic Container…
4
votes
1 answer

Unable to authenticate my AWS credentials for ECR

I have installed the latest versions of the aws-cli-2 and docker, as well as ran "aws configure" and entered my access key and secret key. I have also verified the aws.config is correct and showing the right region and output format. My credentials…
Roger
  • 99
  • 1
  • 5
4
votes
1 answer

Pushing Docker Image to Another Account's ECR from AWS Codebuild

I'm trying to build a docker image from a Pipeline account and push it into the ECR of another account (Dev). While I'm able to docker push from codebuild to an ECR repo within the same account (Pipeline), I'm having difficulty doing this for an…
4
votes
2 answers

Running docker in AWS ECS and passing env file

I need to run a docker container in AWS ECS. I do NOT have access to the source code for the image. This is a private image, from a private repo that I have uploaded to AWS ECR. I have created an AWS ECS Task Definition to run the container inside a…
El Moreno
  • 405
  • 3
  • 8
  • 18
4
votes
5 answers

How do I push helm charts to Amazon ECR

I have a helm chart that I want to push to ECR but I keep hitting 401 Unauthorized. $ helm chart list REF NAME VERSION DIGEST SIZE CREATED…
mandopaloooza
  • 149
  • 1
  • 1
  • 10
4
votes
1 answer

Bitbucket Pipelines to build Java app, Docker image and push it to AWS ECR?

I am setting up Bitbucket Pipelines for my Java app and what I want to achive is whenever I merge something with branch master, Bitbucket fires the pipeline, which in first step build and test my application, and in second step build Docker image…
4
votes
1 answer

How to push Docker image to ECR in Jenkins?

I am working with Jenkins. I am trying to push image to ECR. I am using local Docker to build the images. Below is my Jenkins file: pipeline { agent any stages { stage('Build') { steps { bat 'docker…
Niranjan
  • 1,881
  • 6
  • 44
  • 71
4
votes
2 answers

AWS Blue/Green CodeDeploy to ECS install lifecycle event timesout

As the title suggests, the blue/green deployment for ecs never finishes because the install lifecycle event never finishes and timesout. This is the picture showing that: The appspec file: version: 0.0 Resources: - TargetService: Type:…
4
votes
1 answer

How to update docker container running on Amazon ECS

I'm very new to Amazon ECS, and I've written a task definition with 3 containers. One for my php application (main-server), second for node application (pubsub-server) and a redis container. main-server and pubsub-server link to redis container.…
Vishal Sharma
  • 2,550
  • 1
  • 23
  • 40
3
votes
1 answer

ErrImagePull: "no basic auth credentials" when kubernetes pulls from ECR

I am getting a no basic auth credentials ErrImagePull error when pulling an image hosted on a private ECR registry. I have to my knowledge checked off all the necessary requirements for successful authorization, so I'll list them below in hopes that…
nocnoc
  • 337
  • 2
  • 12
3
votes
2 answers

Github Action docker/build-push-action@v4 to ECR returns untagged images

I have a github build that pushes images to ECR, but when they get there, they show up as untagged / no way i can see to tell image / platform etc is created. Is this a bug or a mistake my end? GHA: name: push on: [workflow_dispatch] env: …
Staggerlee011
  • 847
  • 2
  • 13
  • 23
3
votes
0 answers

How to automate image tag on ECR using gitlab CI?

I have an ECR repo. I'm using a gitlab CI to push and pull an image from that repo. Everytime my CI runs I'm using the same image tag (is fixed in my CI code) like ECR_IMAGE: app:1.1.8 My doubt is: Is there a way to automate the tag generation in…
3
votes
0 answers

Github actions configure AWS credentials throws error

I am trying to build docker image and upload it to AWS ECR using Github actions. Had referred articles online and came up with an action file with one of its step as: - name: Configure AWS credentials uses:…
3
votes
1 answer

AWS CLI - Create New Revision of Task Definition

In AWS ECS with the UI, I can create a new revision of a task definition. I go to Task Definitions -> Select my Task Definition -> Select my Revision -> Click Create new revision. With AWS UI, the container definition properties are copied across…