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!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南