put privileged option first
Having the --privileged option first prevents this error when running unsupported install on ubuntu 20.04, installed through the installer script. ``` CRITICAL (MainThread) [supervisor.misc.hwmon] Not privileged to run udev monitor! ```
This commit is contained in:
parent
fc0809a4c1
commit
2dc2633213
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ runSupervisor() {
|
||||||
docker rm --force hassio_supervisor || true
|
docker rm --force hassio_supervisor || true
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
docker run --name hassio_supervisor \
|
docker run --privileged \
|
||||||
--privileged \
|
--name hassio_supervisor \
|
||||||
$APPARMOR \
|
$APPARMOR \
|
||||||
--security-opt seccomp=unconfined \
|
--security-opt seccomp=unconfined \
|
||||||
-v /run/docker.sock:/run/docker.sock \
|
-v /run/docker.sock:/run/docker.sock \
|
||||||
|
|
Loading…
Reference in a new issue