Fix commands

This commit is contained in:
pvizeli 2017-04-04 17:05:04 +02:00
parent 04a03318f6
commit ef6777ca95

View File

@ -33,11 +33,13 @@ class DockerHomeAssistant(DockerBase):
api_endpoint = get_local_ip(self.loop)
# cleanup old container
self._stop()
try:
self.container = self.dock.containers.run(
self.image,
name=self.docker_name,
remove=True,
detach=True,
privileged=True,
network_mode='host',