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?

gefragt vor 2 Jahren263 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 2 Jahren
  • It was a problem related to the permissions, thank you very much!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen