Container Watchdog

Do the containers running on Balena have access to the systemd watchdog mechanism? I would like to setup a watchdog so that if my program doesn’t ping then the container can be restarted.


You’ll need to look into the “healthcheck” directive of docker-compose: Compose file version 2 reference | Docker Documentation which balenaOS fully supports.