最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - can't push docker image to AWS Elastic Container Registry - Stack Overflow

programmeradmin3浏览0评论

I am trying to push my locally build docker image to my new AWS ECR address. Currently it has been pushed to Docker hub without any problem. But when I try to push it to ECR I am getting errors.

It is either use of closed network connection or simply EOF

and when I check my container address, there is no image submitted. Steps I did so far

  1. I added AmazonEC2ContainerRegistryFullAccess to my IAM user and I also have the admin access
  2. I have a ECR URL
  3. I tried both wifi and hotspot.
  4. I increased the timeout limit for docker to 10 mins.
  5. aws ecr get-login-password --region us-east-1 .... command returns "login successful" What am I missing here?

I am trying to push my locally build docker image to my new AWS ECR address. Currently it has been pushed to Docker hub without any problem. But when I try to push it to ECR I am getting errors.

It is either use of closed network connection or simply EOF

and when I check my container address, there is no image submitted. Steps I did so far

  1. I added AmazonEC2ContainerRegistryFullAccess to my IAM user and I also have the admin access
  2. I have a ECR URL
  3. I tried both wifi and hotspot.
  4. I increased the timeout limit for docker to 10 mins.
  5. aws ecr get-login-password --region us-east-1 .... command returns "login successful" What am I missing here?
Share Improve this question edited Feb 16 at 5:36 usoysal asked Feb 16 at 5:21 usoysalusoysal 215 bronze badges 1
  • Does this answer help with your issue? – vht981230 Commented Feb 16 at 5:48
Add a comment  | 

1 Answer 1

Reset to default 0

Layer already exists isn't an error message. It just let you know the docker image layers already exist in the registry so there is no need to push it to again. Docker image has multiple layers so that when you update your new docker image with new version, it only pushes the changed layers instead of entire thing to improve time & space efficiency

发布评论

评论列表(0)

  1. 暂无评论