Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Push an image to ECR

This revision card explains Push an image to ECR. It starts from the need that ECS needs an image URL AWS can pull. A laptop-only Docker image is not enough. It describes amazon ECR is a private container registry in your account. Tag and push with docker, then point the task definition at the URI. The how-to section covers how to create repo , then aws ecr get-login-password | docker login , then docker tag , then docker push in ap-south-1. An example on the card is task definition image = 123.dkr.ecr.ap-south-1.amazonaws.com/yourname-nginx:latest.

Push an image to ECR ECS needs an image URL AWS can pull. A laptop-only Docker image is not enough. Amazon ECR is a private container registry in your account. Tag and push with docker, then point the task definition at the URI. Create repo → aws ecr get-login-password | docker login → docker tag → docker push in ap-south-1. Task definition image = 123.dkr.ecr.ap-south-1.amazonaws.com/yourname-ngi
Push an image to ECR · Download PNG
Read card text

What this card says

Why do we need it?

ECS needs an image URL AWS can pull. A laptop-only Docker image is not enough.

What is it?

Amazon ECR is a private container registry in your account. Tag and push with docker, then point the task definition at the URI.

How to do it

Create repo → aws ecr get-login-password | docker login → docker tag → docker push in ap-south-1.

ap-south-1

Example

Task definition image = 123.dkr.ecr.ap-south-1.amazonaws.com/yourname-nginx:latest.

See all AWS revision cards