Skip to content
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

[minidlna] bridge mode / host mode #89

Closed
LennyLip opened this issue Nov 2, 2019 · 5 comments
Closed

[minidlna] bridge mode / host mode #89

LennyLip opened this issue Nov 2, 2019 · 5 comments
Assignees

Comments

@LennyLip
Copy link

LennyLip commented Nov 2, 2019

Can't make work network dlna server discovering with bridge mode.

Also (need to add UPD port to readme?), https://help.ubuntu.com/community/MiniDLNA :

OPEN_TCP="8200"
OPEN_UDP="1900"

It seems, issue related to different networks 172.17.0.0 (container) and 192.1.0.0 (local). Can you please add to the readme working bridge mode configuration?

ps. host mode works fine.

@vladgh
Copy link
Owner

vladgh commented Nov 2, 2019

You need to run the container in host mode for it to be able to receive UPnP broadcast packets. Bridge mode will not work because it separates the container and local network.

@LennyLip
Copy link
Author

LennyLip commented Nov 3, 2019

UP. So, we need to remove -p parameter from the readme ?

https://docs.docker.com/network/host/

Note: Given that the container does not have its own IP-address when using host mode networking, port-mapping does not take effect, and the -p, --publish, -P, and --publish-all option are ignored

@vladgh
Copy link
Owner

vladgh commented Nov 3, 2019

That sounds like a good idea. I'll update the README and also add a note about the host mode.
Thanks.

@vladgh vladgh self-assigned this Nov 3, 2019
@vladgh vladgh closed this as completed in 9f60f96 Nov 3, 2019
@NelsonVides
Copy link

I have a question here: why does it not work?

@LennyLip
Copy link
Author

I have a question here: why does it not work?

moby/libnetwork#2397 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants