Hot answers tagged

4 votes

Configure VPC for ECR access

This error CannotPullContainerError usually occurs when you have no access to the Internet from ECS and thus it doesn't able to pull an image from registry. Make sure you have networking configured ...
Most Wanted's user avatar
3 votes
Accepted

Automate custom docker image deployment on AWS

I will give it a try and explain all required steps with examples. Please add comments with questions and improvement suggestions if anything is not well enough explained. The OP (original poster) ...
Ta Mu's user avatar
  • 6,802
3 votes
Accepted

How to set 'image tag mutability' using CloudFormation?

The ImageTagMutability property in ECR is not currently supported in CloudFormation, as verified by experimentation (nor is it part of the LifecyclePolicy property). There is sometimes lag between ...
Dan1701's user avatar
  • 201
2 votes

What is the idiomatic way to reload EKS/Kube configs when a new image is pushed to ECR

The 'best approach' in a theory (coming from the perspective of k8s) would be GitOps: Cloud-native Continuous Deployment. Your question lack some important information, how are you doing your ...
Recoba20's user avatar
  • 632
2 votes

AWS ECS Update with new docker image

AWS container service team member here. IF you are still early on in your journey to automate this via a CLI I would suggest you consider moving past the ecs-cli. The follow-on version of this CLI is ...
mreferre's user avatar
  • 246
1 vote
Accepted

Run the latest image from ECR on EKS

ECR is just a registry - so it only stores images - it does not identify latest images, nor provides any additional information beyond tags and sha256 image digests. So it is up to you to identify the ...
taleodor's user avatar
  • 847
1 vote

GitLab runner not able to fetch AWS ECR images in the current AWS account

I use this script in gitlab-ci.yml image: docker:19.03 services: - docker:19.03.0-dind before_script: - $(aws ecr get-login --no-include-email --region eu-central-1) ... and provide ...
Vasiliy  Shakhunov's user avatar
1 vote
Accepted

How to protect secrets whilst enabling the ability to amend a pipeline

Developers or even admins of your GitHub repository wouldn't be able to see secrets configured there by default. Even if you debug GitHub Actions workflows and accidentally log secrets, GitHub would ...
taleodor's user avatar
  • 847
1 vote

unable to login using docker registry on jenkins

I think what you are doing wrong is the way you specify the credentialID to be used. Instead of 'awsId' try to use 'ecr:ap-southeast-1:awsId' docker.withRegistry('https://01234.dkr.ecr.ap-southeast-...
nandilov's user avatar
  • 121
1 vote

Configure VPC for ECR access

ECR needs authentication and authorization before you can pull an image. In your ansible ecs_taskdefinition, please make sure you have parameter task_role_arn or execution_role_arn pointing to a role ...
Flo's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible