Questions tagged [ecr]

5 questions
1
vote
2 answers

How to make my ECS Task pull my ECR image

I am trying to create a ECS task and be able to access and pull from ECR, but I am getting an error. How can I resolve this issue? Raw error: Cannotpullcontainererror: pull image manifest has been retried 1 time(s): failed to resolve ref…
0
votes
0 answers

Avoid aws ecr get-login accros account

I have two AWS accounts A and B, EC2s instances on account B regularly pull images from ECR on account A. There is a CI on account B that do aws ecr login and docker login to ECR (account A) and this is working well. But in order to optimize cost,…
0
votes
1 answer

How can you update the password for an AWS ECR repo in Kubernetes?

I created a private docker registry using AWS ECR. I want to use it with a Kubernetes cluster managed by Rancher, but the password to the registry is changed by AWS every 12 hours. How do I keep it updated as a secret in the cluster?
Juan Jimenez
  • 870
  • 1
  • 7
  • 13
0
votes
1 answer

How to surface a docker-registry secret in Rancher?

I am using Rancher 2.5.8 to run Kubernetes clusters. In my org, we maintain a private docker registry on AWS ECR. I know I can create registry credentials within a project (for use in one or all projects), but ECR changes the password every 12 hours…
Juan Jimenez
  • 870
  • 1
  • 7
  • 13
-1
votes
2 answers

Error to login ecr docker

I'm trying to login ecr with docker to upload the container, but it always returns an error. The cli configuration is ok. I'm following the documentation that aws provides, but still to no avail. Command login aws ecr get-login-password \ …