* Add --cpu-rt-runtime to allow Docker allocate real-time CPU time (#1235) * Enable Supervisor's CPU bandwith allocation feature (#1235) Since we have CONFIG_RT_GROUP_SCHED enabled in the Home Assistant OS kernel the Supervisor needs to enable CPU bandwith allocation for Add-Ons which need real-time scheduling. Set the appropriate environment variable.
7 lines
222 B
Plaintext
7 lines
222 B
Plaintext
[Unit]
|
|
RequiresMountsFor=/etc/docker /mnt/data /var/lib/docker
|
|
|
|
[Service]
|
|
ExecStart=
|
|
ExecStart=/usr/bin/dockerd -H fd:// --cpu-rt-runtime=950000 --storage-driver=overlay2 --log-driver=journald --data-root /mnt/data/docker
|