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

preguntada hace 4 años203 visualizaciones
2 Respuestas
0
Respuesta aceptada

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 hace 4 años
0

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

Thank you

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas