mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 04:19:03 +00:00
Fix commands
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user