-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ports instead of host network mode #43
base: master
Are you sure you want to change the base?
Conversation
Disabling full host network will break avahi discovery, wsdd2 and time machine discovery on macOS. |
All of which have ports which can be exposed. |
From my brief research: Not having the broadcast and multicast traffic specifically would break the discovery features (even if the ports were exposed), which is probably why the networking mode is set to host. The only solution I could think of is to set the docker networking to Overall, I'd love to find a way to remove the host networking requirement, but I don't know if it can reasonably be done |
The list of pre-requisites for macvlan networking is pretty rough. It would break support for... a lot of things like older and non-linux platforms, portability etc. From Docker docs - Networking using a macvlan network:
|
I'm not sure I follow. I'm using the |
Have you tested for Avahi, wsdd2 and time machine discovery? I can't speak for CrazyMax, but I assume all of this functionality must remain for him to accept the PR. |
This PR restricts the
docker-compose.yml
to only use Samba ports139
and445
instead of the full host network.