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
- asked 3 years ago
- AWS OFFICIALUpdated a year 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.