2 Answers
- Newest
- Most votes
- Most comments
0
Hello,
Did you authenticate to the Amazon ECR registry before push the image to ECR repository?
aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com
Pushing a Docker image to an Amazon ECR private repository: https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-ecr-image.html
0
Make sure your current user have correct policy AmazonEC2ContainerRegistryFullAccess.
And also make sure the name of your repository is the same name as your images
**********.dkr.ecr.us-east-1.amazonaws.com/your-image:latest
Your repo is your-image and your image's name must also be your-image
answered 2 years ago
Relevant content
- asked 7 years ago
- asked 3 years ago
- asked 3 years ago
- asked 4 years ago
