1 Answer
- Newest
- Most votes
- Most comments
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.
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
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.