Persistent or local Greengrass group deployment in Docker container

0

When I deploy a Greengrass group on a GGC running in a Docker container, as far as I can tell the group exists as long as the GGC image is running, and if the GGC image is restarted the group is not present and requires redeployment. I have thus far been redeploying from the AWS IoT console, but my use scenario has the core device powered on and off with relative frequency, with no guarantee of Internet connection.

I would like to find a way to have the group details and associated functions persistent between sessions, or be saved and redeployed locally.

ole-OG
已提问 4 年前243 查看次数
1 回答
0

I solved this by using the -v tag when running docker run to bind-mount a copied greengrass/ggc/deployment folder to /greengrass/ggc/deployment, which contained the group, lambda, and mlmodel folders.

ole-OG
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则