How to restart / update ioBroker Container #527
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The buanet/iobroker Docker image implements a proper graceful shutdown mechanism: When Docker sends SIGTERM to the container, a trap handler catches it. The shutdown function uses This ensures that ioBroker has time to:
You don't need to activate the maintenance mode. |
Beta Was this translation helpful? Give feedback.
-
So great. Thanks for the quick answer |
Beta Was this translation helpful? Give feedback.
The buanet/iobroker Docker image implements a proper graceful shutdown mechanism:
When Docker sends SIGTERM to the container, a trap handler catches it. The shutdown function uses
pkill -u iobroker -f iobroker.js-controller
to send SIGTERM to ioBroker processes, the system waits for processes to terminate naturally with a timeout period.Only if processes don't terminate within the timeout, SIGKILL is used as a last resort.
This ensures that ioBroker has time to:
You don't need to activate the maintenance mode.