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?

posta 2 anni fa263 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 2 anni fa
  • It was a problem related to the permissions, thank you very much!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande