Cgroup adjustment (#23170)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Pascal Vizeli 2022-06-22 16:12:44 +02:00 committed by GitHub
parent c05661185a
commit 4ee5fa7d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,8 @@ The Supervisor has some expectations of how the Docker daemon is configured to m
The logging driver for the Docker daemon needs to be set to `journald` and the storage driver The logging driver for the Docker daemon needs to be set to `journald` and the storage driver
needs to be set to `overlay2`. needs to be set to `overlay2`.
We only support cgroup version 1 on our hardware handling.
## The solution ## The solution
If you are running an older version of our Home Assistant OS, update it to the latest version in the {% my configuration title="Configuration" %} panel. If you are running an older version of our Home Assistant OS, update it to the latest version in the {% my configuration title="Configuration" %} panel.
@ -29,4 +31,6 @@ following contents:
When the Docker configuration file is changed and saved, you need to restart the When the Docker configuration file is changed and saved, you need to restart the
Docker service on the host machine. Docker service on the host machine.
To fix issues with the cgroup level, addjust the `/etc/default/grub` and add `systemd.unified_cgroup_hierarchy=false` to `GRUB_CMDLINE_LINUX_DEFAULT`. After this change is made, you need to reboot the host completely.
You can also just re-run our [convenience installation script](https://github.com/home-assistant/supervised-installer). You can also just re-run our [convenience installation script](https://github.com/home-assistant/supervised-installer).