ESPHome doesn't work in Docker container

Hi everyone, i have set up a home assistant container in true nas scale, using the official true nas image. I have a problem with esphome integration, my old devices (i used them in HassOS) are now not available, if i remove them and add via UI setting up DEVICE_IP:6053 i get “Unknown error occurred”

On my windows pc i can ping devices by ip/node-name.local, so they are running fine.

Looking into the logs every time i try to add a device i get

2024-04-10 01:38:59.980 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry stanza-pc-lampadari for esphome
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/", line 551, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/esphome/", line 43, in async_setup_entry
zeroconf_instance = await zeroconf.async_get_instance(hass)
File "/usr/src/homeassistant/homeassistant/components/zeroconf/", line 146, in async_get_instance
return cast(HaZeroconf, (await _async_get_instance(hass)).zeroconf)
File "/usr/src/homeassistant/homeassistant/components/zeroconf/", line 161, in _async_get_instance
zeroconf = HaZeroconf(**zcargs)
File "/usr/local/lib/python3.12/site-packages/zeroconf/", line 180, in __init__
listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p)
File "/usr/local/lib/python3.12/site-packages/zeroconf/_utils/", line 358, in create_sockets
listen_socket = new_socket(ip_version=ip_version, apple_p2p=apple_p2p, bind_addr=('',))
File "/usr/local/lib/python3.12/site-packages/zeroconf/_utils/", line 248, in new_socket
OSError: [Errno 98] Address in use



Any ideas?