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

feita há 4 anos203 visualizações
2 Respostas
0
Resposta aceita

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.

respondido há 4 anos
0

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

Thank you

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas