mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Fix commands
This commit is contained in:
parent
04a03318f6
commit
ef6777ca95
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user