Skip to content

How to restart / update ioBroker Container #527

Discussion options

You must be logged in to vote

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:

  • Close database connections
  • Save state information
  • Release resources properly

You don't need to activate the maintenance mode.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MartinSchlender
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants