Add udev host support
This commit is contained in:
parent
52e6529bf0
commit
af4448ca3b
1 changed files with 3 additions and 2 deletions
|
@ -21,8 +21,9 @@ runSupervisor() {
|
||||||
--privileged \
|
--privileged \
|
||||||
--security-opt apparmor=hassio-supervisor \
|
--security-opt apparmor=hassio-supervisor \
|
||||||
--security-opt seccomp=unconfined \
|
--security-opt seccomp=unconfined \
|
||||||
-v /run/docker.sock:/run/docker.sock \
|
-v /run/docker.sock:/run/docker.sock:rw \
|
||||||
-v /run/dbus:/run/dbus \
|
-v /run/dbus:/run/dbus:ro \
|
||||||
|
-v /run/udev:/run/udev:ro \
|
||||||
-v /etc/machine-id:/etc/machine-id:ro \
|
-v /etc/machine-id:/etc/machine-id:ro \
|
||||||
-v "${HASSIO_DATA}":/data:rw \
|
-v "${HASSIO_DATA}":/data:rw \
|
||||||
-e SUPERVISOR_SHARE="${HASSIO_DATA}" \
|
-e SUPERVISOR_SHARE="${HASSIO_DATA}" \
|
||||||
|
|
Loading…
Reference in a new issue