Robomaker doesn't push docker images into ECR

0

I'm following the helloworld tutorial in the Developer guide, I have added the Dockerfile and entrypoint.sh and runned all the terminal command, but when I run the command:

docker push $ecruri/$simapp

the output I obtain is the following:

50b01f0b27b7: Retrying in 1 second

397a6b9fcc38: Retrying in 1 second

...

b97da005ff37: Waiting

...

EOF

And the repository is empty. (The same goes for $robotapp)

Any ideas?

已提问 2 年前263 查看次数
1 回答
1
已接受的回答

A few things that could be causing this issue:

  1. You didn't create the Amazon ECR repository before pushing (or you created it in a different region).
  2. Your permissions aren't set properly. Make sure you are using the proper AWS credentials and that those credentials have permissions to push to ECR.

If you have AWS CloudTrail set up, you will be able to see further details on your issue in the CloudTrail event logs. For details on setting up logging with CloudTrail, see the documentation on Logging ECR actions with CloudTrail.

AWS
专家
已回答 2 年前
  • It was a problem related to the permissions, thank you very much!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则