Open
Description
Hi, I'm running python-zeroconf in a docker container on a mac host. If I run the following on the mac host:
$ python3
Python 3.13.1 (main, Dec 3 2024, 17:59:52) [Clang 16.0.0 (clang-1600.0.26.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import zeroconf
>>> from zeroconf import ZeroconfServiceTypes
>>> print('\n'.join(ZeroconfServiceTypes.find()))
_androidtvremote2._tcp.local.
_companion-link._tcp.local.
_googlecast._tcp.local.
_googlerpc._tcp.local.
_googlezone._tcp.local.
_spotify-connect._tcp.local.
>>>
It finds services as expected.
If I try the same thing on a docker container (with --network=host) I get:
$ python
Python 3.12.7 (main, Oct 1 2024, 22:26:44) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>> from zeroconf import ZeroconfServiceTypes
>>> print('\n'.join(ZeroconfServiceTypes.find()))
>>>
Nothing... Is there something obvious I am missing that would cause this despite the fact that the container is on the host network?
Metadata
Metadata
Assignees
Labels
No labels