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

질문됨 4년 전203회 조회
2개 답변
0
수락된 답변

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.

답변함 4년 전
0

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

Thank you

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠