Questions tagged [aws-ecr]

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.

111 questions
0
votes
0 answers

How to solve unable to recognize "/home/circleci/patched_k8s.yml" error in kubernetes?

I am trying to set up CI/CD for my nodeJs project. I am using CircleCI, AWS ECR and ECS, Kubernetes. i am getting following error unable to recognize "/home/circleci/patched_k8s.yml": Get http://localhost:8080/api?timeout=32s: dial tcp…
0
votes
0 answers

Why am I getting "https://registry-1.docker.io/v2/{reponame}/tags/list: unauthorized: incorrect username or password"?

Summary I am trying to use the docker-java library but I am running into a problem when I try to pull an image. I am trying to pull from a private repository on ECR. What I have tried Much of the implementation I have been trying has come from the…
Daniel McC
  • 483
  • 4
  • 8
0
votes
0 answers

EC2 in public subnet behind internet gateway not able to connect to ECR

Summary: I have an EC2 in public subnet of a VPC that has a internet gateway in its route table. Its connecting well bothways based on routing table. However, I am now trying to reach out to ECR and that leads to "Could not connect to the endpoint…
toing
  • 466
  • 1
  • 3
  • 19
0
votes
0 answers

Nomad job pending due to Docker i/o timeout on 3/4 nodes?

Having the issue of my jobs ending up in an eternal pending sate due to the fact that docker pull of the container I want is hitting i/o timeouts. I've read several times about changing the DNS in order to fix this, but it seems kinda hokey, I don't…
ehime
  • 8,025
  • 14
  • 51
  • 110
0
votes
0 answers

No of Services (end points) can Docker/ AWS ECS Container support

We have a single docker container (256 CPU units & 1GB RAM) which runs around 40+ services -java based application (controller endpoints). Will there be any problem in running on one container or should we deploy 10 services on 1 container each. So…
Ak S
  • 97
  • 1
  • 8
0
votes
1 answer

How to fix AWS docker pull

I’m having problems pulling a docker from repository in AWS. I always have this error: Error response from daemon: pull access denied for [repository name], repository does not exist or may require ‘docker login’ I did push the image in…
Tibi C
  • 3
  • 6
0
votes
1 answer

AWS CD with CodeDeploy for Docker Images

I have a scenario and looking for feedback and best approaches. We create and build our Docker Images using Azure Devops (VSTS) and push those images to our AWS repository. Now I can deploy those images just fine manually but would like to…
0
votes
1 answer

Docker ImagePush failing with "no basic auth credentials"

I'm attempting to use the docker go-sdk to push an image to AWS ECR. This is the code I'm using to push the image. where tag = ".dkr.ecr.us-east-1.amazonaws.com/api:mytag" func Push(c context.Context, tag string, credentials string) error { cli,…
noqcks
  • 513
  • 5
  • 9
0
votes
1 answer

Authenticate ECR via Docker Remote API

I need to login to my AWS ECR repository so it can pull whatever images it needs by using API. I need to translate what aws ecr get-login --no-include-email --registry-ids command does using Docker API. For example -- [Solved] API…
devashish-patel
  • 663
  • 1
  • 7
  • 15
0
votes
0 answers

What Is Causing this Error with Terraform ECR Import?

I've got a big-ish Terraform project, with state split into a half-dozen different state files, and a lot of modules that make up the codebase. I am trying to do an import of an AWS ECR repository, but am getting an error about the repositoryName…
Randy L
  • 14,384
  • 14
  • 44
  • 73
0
votes
1 answer

AWS ECS-optimized container logs move to cloudwatch logs through Terraform

I am trying to move AWS ECS Container task logs to cloud watch, I have configured IAM Policy also Terraform task for "Logdriver", I'm not getting any container centralized logs into Cloudwatch>> Cofiguration.JSON>>> "logConfiguration": { …
0
votes
1 answer

Gitlab CI - Docker push to AWS ECR

I spent 5 hours today with no help. Here is the scenario/setup. 1) Windows Server - Gitlab-runner is running, making builds and pushing to docker registry on server for development branch 2) For master branch, I want to push docker image to AWS…
sorabzone
  • 797
  • 5
  • 8
0
votes
2 answers

How to manage mapping to the appropriate Service in EC2 instances in clusters?

I'm wondering if there is a way to determine which EC2 instance in a Cluster a Task will run on? I have a Cluster of EC2 instances in Amazon ECS, where I'm running multiple Services on this cluster. When I update a Service with a New Task, sometimes…
fuzzi
  • 1,967
  • 9
  • 46
  • 90
0
votes
2 answers

Using Amazon ECR Clusters - one per microservice or does each microservice reside on one Service

I am new to using AWS ECR Clusters for microservices projects. I want to deploy a microservices infrastructure, where I'm able to re-build and re-deploy any microservice on demand. I have deployed a microservice using the ECR registry, and creating…
fuzzi
  • 1,967
  • 9
  • 46
  • 90
0
votes
1 answer

aws Ec2 Container registry (When deployed using kubernetes Image cannot be pulled due to auth credentials)

I have created my cluster using kubeadm init and even provided the config file to define the cloud provider as aws. I have given the required permission for the IAM role for ECR and i am able to pull the image using the docker pull. It's just…
DevScript
  • 68
  • 1
  • 6