What is the entrypoint /greengrass-entrypoint.sh?

0

Hi,

I had a problem when I tryed to running AWS IoT Greengrass in a Docker Container with the command:

docker run --rm --init -it --name aws-iot-greengrass --entrypoint /greengrassentrypoint.sh -v c:/Users/%USERNAME%/Downloads/certs:/greengrass/certs -v c:/Users/%USERNAME%/Downloads/config:/greengrass/config -p 8883:8883 216483018798.dkr.ecr.us-west-2.amazonaws.com/aws-iot-greengrass:latest

The command prompt output say: No such file /greengrassentrypoint.sh, what is /greengrassentrypoint.sh?

Edited by: EliezerMaduro on Oct 8, 2020 7:26 PM

demandé il y a 4 ans203 vues
2 réponses
0
Réponse acceptée

Did you run the command with a typo. greengrassentrypoint.sh instead of greengrass-entrypoint.sh?
Can you confirm that docker run --rm --init -it --name aws-iot-greengrass --entrypoint /greengrass-entrypoint.sh works.

répondu il y a 4 ans
0

Yes, that was my problem, the correct form is this /greengrass-entrypoint.sh

Thank you

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions