1 回答
- 最新
- 投票最多
- 评论最多
2
Hi TSpark,
Thank you for your question. You should utilize the shutdown
lifecycle step to call docker-compose down
for example. The shutdown step is called when Greengrass stops or when the component will be updated. Therefore, you should write whatever commands are needed to safely and completely shutdown your component.
相关内容
- AWS 官方已更新 10 个月前
- AWS 官方已更新 1 年前
Awesome that is what I was looking for. Thanks ! Additionally, is there a way to see the status of containers on the devices through AWS ? Something similar to portainer or
docker ps
?No, there isn't any way provided by Greengrass to show your containers. Only the component status is reported to the cloud.