You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/faq.rst
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -374,6 +374,7 @@ And a docker compose file looks like this:
374
374
# if needed, add esp device(s) as in command line examples above
375
375
- /dev/ttyUSB0:/dev/ttyUSB0
376
376
- /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.
377
378
network_mode: host
378
379
restart: always
379
380
@@ -384,9 +385,9 @@ And a docker compose file looks like this:
384
385
By default ESPHome uses mDNS to show online/offline state in the dashboard view. So for that feature to work you
385
386
need to enable host networking mode.
386
387
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.
390
391
391
392
mDNS might not work if your Home Assistant server and your ESPHome nodes are on different subnets.
392
393
If your router supports Avahi (eg. OpenWRT or pfSense), you are able to get mDNS working over different subnets
0 commit comments