Change priviliged modus

This commit is contained in:
pvizeli 2017-03-28 15:43:50 +02:00
parent ae3e2888a9
commit f9fa058cda
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ class DockerHomeAssistant(DockerBase):
self.image, self.image,
name=self.docker_name, name=self.docker_name,
remove=True, remove=True,
privileged=True,
network_mode='host', network_mode='host',
restart_policy={ restart_policy={
"Name": "always", "Name": "always",

View File

@ -8,7 +8,7 @@ SUPERVISOR_CONTAINER_IMAGE_ID=$(docker inspect --format='{{.Image}}' resin_super
runSupervisor() { runSupervisor() {
docker rm --force resin_supervisor || true docker rm --force resin_supervisor || true
docker run --privileged --name resin_supervisor \ docker run --name resin_supervisor \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/hassio-hc.sock:/var/run/hassio-hc.sock \ -v /var/run/hassio-hc.sock:/var/run/hassio-hc.sock \
-v /resin-data:/data \ -v /resin-data:/data \