Questions tagged [elastic-container-registry]
16 questions
16
votes
3 answers
How to download or tag an untagged image on ECR?
The UI on ECR does not let you apply tags to images. When you push images to ECR that have a tag that exists, the existing image becomes untagged, as expected. However, there does not appear to be a way to download untagged images. For example, I…

wonton
- 7,568
- 9
- 56
- 93
3
votes
3 answers
Cross region replication of AWS ECR repository
I am trying to replicate my AWS ECR repository to multiple regions within the same account using terraform. I tried manually from the AWS console it works fine but from terraform, I am not able to find the solution.
What I tried:
I tried to make a…

pawan19
- 425
- 1
- 5
- 10
3
votes
1 answer
Pass a Built Docker Image from VSTS Build Pipeline to VSTS Release Pipeline
Pass Built Docker Image from Build Pipeline to Release Pipeline
I'm currently successfully building a Docker image in a VSTS Build Pipeline. I would like to take this built image and then Publish it as a Build Artifact so that a VSTS Release…

BrandonCookeDev
- 33
- 5
2
votes
2 answers
Local image size and ECR image size differ - why?
I just pushed a 2.8GB Docker image to the AWS container repository ECR. However, the Management Console gives the size of the image as 1.2GB. Why is that? I assume ECR comes with some automated compression, right?

Joe
- 1,628
- 3
- 25
- 39
2
votes
1 answer
How to manage versions of docker image in AWS ECS?
AWS ECS service points to a Task Definition, which holds a name of docker image, including a tag.
So when I create a new version of my docker image I have 2 possibilities:
Update Task definition to the new version and then update Service to point…

Pavel Bernshtam
- 4,232
- 8
- 38
- 62
1
vote
0 answers
Updating Running Count on Amazon ECS
I want to update the running count on my Amazon ECS Service. I updated the Desired Count but the running count sticks to one.
update_service = client.update_service(
service=service,
cluster=response['clusterArns'][0],
desiredCount=5,
…

Zaid Abdalkarim
- 11
- 2
1
vote
0 answers
AWS Load Balancer Bad Gateway error and target group unhealthy
I have followed this tutorial: https://www.youtube.com/watch?v=o7s-eigrMAI to learn to setup my Load Balancer that connects to Fargate.
I have also followed this answer: AWS Error : None of these Availability Zones contains a healthy target.…

JianYA
- 2,750
- 8
- 60
- 136
1
vote
1 answer
Elastic Beanstalk not scheduling jobs defined in cron.yaml
I have a web and a worker environment on Elastic Beanstalk. I have a cron.yaml file that has a task that runs every hour. It was working fine in the beginning when I was deploying using eb-cli.
Then I decided to use AWS code pipeline to deploy code…

Farhat Nawaz
- 202
- 5
- 20
1
vote
1 answer
Run multiple task-definition using docker-compose.yml and ecs-params.yml file in AWS ECS with different lauch type and volume mounting
I have 4 docker images which i want to run on ECS. For my local system i use docker-compose file where i have multiple services.
I want to do similar docker compose on ECS.
I want my database image to run on EC2 and rest on fargate and host the…

Zafar Shadman
- 31
- 6
1
vote
1 answer
Docker image not found when running docker push to ECR
I have this working in development (because everything is on one machine), but on production I have a docker swarm with managers and worker nodes. When I run docker commit it creates a snapshot and running docker image ls confirms this, but when I…

thenengah
- 42,557
- 33
- 113
- 157
0
votes
0 answers
ClientException while calling RegisterTaskDefinition operation: Invalid arn syntax
I try to execute following command with AWS CLI.
aws ecs register-task-definition --cli-input-json file://jenkins/task-definition.json
task-definition.json
{
"family": "interactify-family",
"executionRoleArn":…
0
votes
1 answer
How to copy public images like java, busybox to Amazon Elastic Container Service
I have a scenario where I have to pull the images from Amazon Elastic Container Service instead of Docker Hub to avoid the pull rate limit error or to reduce the calls to dockerhub. Is it possible to copy public images from Docker hub to Amazon…

Uday Kiran
- 487
- 2
- 9
- 29
0
votes
1 answer
How to list all ECR repositories with no lifecycle policy set?
I need to find all ECR repositories which have no lifecycle policy set to them, I tried using aws ecr describe-repositories and using --filters but the command output doesn't include lifecycle policies (aws docs).
What would be the correct command…

razz
- 9,770
- 7
- 50
- 68
0
votes
1 answer
Terraform ECS / Github Actions seem to ignore ALB health check
I'm new to ECS Fargate and Terraform; I've based most of the config below on tutorials/blogs.
What I'm seeing:
My app doesn't start because it can't connect to RDS (cloudwatch logs). This is OK since I've not yet configured RDS.
ECS / Fargate…

Niels Krijger
- 235
- 5
- 9
0
votes
2 answers
How to enable KMS encryption for AWS ECR when using CloudFormation templates
Reading the AWS documentation regarding ECR CloudFormation template:
See here.
I've not been able to find how to specify the encryption at rest you want. I know by default it uses AES-256. But I want to be able to specify KMS. In simple terms my…

Mark
- 136
- 9