esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

docker build does not include mdns but relies on the host #6145

Open makuser opened 1 month ago

makuser commented 1 month ago

The problem

The docker build is not able to resolve .local addresses, without setting network_mode: host.

Including the zeroconfig/mdns resolver (eg. avahi) in the docker build solves this and then does not require but also not interfere with network_mode: host.

If we just include that (eg as per https://github.com/esphome/issues/issues/3517#issuecomment-1531212602), in the Dockerfile, that would be awesome and no longer require network_mode: host.

Which version of ESPHome has the issue?

2024.XX

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

No response

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

makuser commented 1 month ago

Related: #3517