mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Unsupported restart policy information (#24206)
This commit is contained in:
parent
95949fe40f
commit
193492d99d
26
source/more-info/unsupported/restart_policy.markdown
Normal file
26
source/more-info/unsupported/restart_policy.markdown
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "Restart policy"
|
||||
description: "More information on why changing the docker restart policy for containers marks the system as unsupported."
|
||||
---
|
||||
|
||||
## The issue
|
||||
|
||||
Supervisor needs to start the containers it manages for addons, plugins and Home Assistant in the
|
||||
correct order after a system reboot. Changing the restart policy it sets on those containers may
|
||||
cause them to start in the wrong order and create errors.
|
||||
|
||||
## The solution
|
||||
|
||||
If the restart policy of observer was changed, fix it from the host shell with this:
|
||||
|
||||
```sh
|
||||
docker update hassio_observer --restart always
|
||||
```
|
||||
|
||||
For everything else, the restart policy can be fixed with the following command:
|
||||
|
||||
```sh
|
||||
docker update <container_name> --restart no
|
||||
```
|
||||
|
||||
The supervisor log should contain a list of container names with incorrect restart policies.
|
Loading…
x
Reference in New Issue
Block a user