Update hassio-supervisor
This commit is contained in:
parent
349af420f0
commit
e1fd91f034
1 changed files with 1 additions and 4 deletions
|
@ -8,9 +8,6 @@ SUPERVISOR="$(jq --raw-output '.supervisor' ${CONFIG_FILE})"
|
|||
MACHINE="$(jq --raw-output '.machine' ${CONFIG_FILE})"
|
||||
DATA="$(jq --raw-output '.data // "/usr/share/hassio"' ${CONFIG_FILE})"
|
||||
|
||||
# AppArmor Support
|
||||
APPARMOR="--security-opt apparmor=hassio-supervisor"
|
||||
|
||||
# Init supervisor
|
||||
HASSIO_DATA=${DATA}
|
||||
HASSIO_IMAGE_ID=$(docker inspect --format='{{.Id}}' "${SUPERVISOR}")
|
||||
|
@ -22,7 +19,7 @@ runSupervisor() {
|
|||
# shellcheck disable=SC2086
|
||||
docker run --name hassio_supervisor \
|
||||
--privileged \
|
||||
$APPARMOR \
|
||||
--security-opt apparmor=hassio-supervisor \
|
||||
--security-opt seccomp=unconfined \
|
||||
-v /run/docker.sock:/run/docker.sock \
|
||||
-v /run/dbus:/run/dbus \
|
||||
|
|
Loading…
Reference in a new issue