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
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?
The text was updated successfully, but these errors were encountered:
Hi, I'm running python-zeroconf in a docker container on a mac host. If I run the following on the mac host:
It finds services as expected.
If I try the same thing on a docker container (with --network=host) I get:
Nothing... Is there something obvious I am missing that would cause this despite the fact that the container is on the host network?
The text was updated successfully, but these errors were encountered: