* 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.
This commit is contained in:
@@ -3,4 +3,4 @@ RequiresMountsFor=/etc/docker /mnt/data /var/lib/docker
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/dockerd -H fd:// --storage-driver=overlay2 --log-driver=journald --data-root /mnt/data/docker
|
||||
ExecStart=/usr/bin/dockerd -H fd:// --cpu-rt-runtime=950000 --storage-driver=overlay2 --log-driver=journald --data-root /mnt/data/docker
|
||||
|
||||
Reference in New Issue
Block a user