Skip to content

Commit 075392d

Browse files
authored
Added info and link about host networking driver (#3689)
1 parent 9cb5cad commit 075392d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

guides/faq.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ And a docker compose file looks like this:
374374
# if needed, add esp device(s) as in command line examples above
375375
- /dev/ttyUSB0:/dev/ttyUSB0
376376
- /dev/ttyACM0:/dev/ttyACM0
377+
# The host networking driver only works on Linux hosts, but is available as a Beta feature, on Docker Desktop version 4.29 and later.
377378
network_mode: host
378379
restart: always
379380
@@ -384,9 +385,9 @@ And a docker compose file looks like this:
384385
By default ESPHome uses mDNS to show online/offline state in the dashboard view. So for that feature to work you
385386
need to enable host networking mode.
386387

387-
On MacOS the networking mode ("-net=host" option) doesn't work as expected. You have to use
388-
another way to launch the dashboard with a port mapping option and use alternative to mDNS
389-
to have the online/offline stat (see below)
388+
The `host networking driver <https://docs.docker.com/network/drivers/host/>`_ only works on Linux hosts, but is available as a Beta feature, on Docker Desktop version 4.29 and later.
389+
390+
If you don't want to use the host networking driver, you have to use an alternative method described below.
390391

391392
mDNS might not work if your Home Assistant server and your ESPHome nodes are on different subnets.
392393
If your router supports Avahi (eg. OpenWRT or pfSense), you are able to get mDNS working over different subnets

0 commit comments

Comments
 (0)