LearnersBlock / learners-block

Provide educational resources, websites and popular EdTech (Kolibri, Moodle) offline.
https://learnersblock.org
GNU General Public License v3.0
12 stars 1 forks source link

Supervisor restarting containers after update #173

Closed maggie44 closed 3 years ago

maggie44 commented 3 years ago

When Balena Supervisor restarts (updates, device reboot etc.), it ignores monitored container restart policies and restarts the containers. This is an issue for things like Portainer which allows the user to shut down the service.

A manual fix has been applied which is effective and sufficient: https://github.com/LearnersBlock/learners-block/pull/172

Ideally though, the Supervisor would follow standard Docker practice and observe the restart polices. There is a ticket open for this with Balena (https://github.com/balena-os/balena-supervisor/issues/1668), and when resolved can remove the fix applied (https://github.com/LearnersBlock/learners-block/pull/172).

Leaving here for reference.