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

asked 3 years ago189 views
2 Answers
0
Accepted Answer

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.

answered 3 years ago
0

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

Thank you

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions