How to differentiate between container restart and system boot.?


#1

Given a single container, possibly in a multicontainer device, how do I differentiate between a container restart and a device reboot?


#2

Hey @jason10,
I wonder if this topic will help with your question: Understanding container restarts

In another viewpoint, you can try differentiating the device & container times using uptime, which will show the system uptime. And if you do balena ps it will show the uptime for all containers.