IceBoosteR 10 Posted October 7, 2018 Posted October 7, 2018 Hi all, I was wondering that DLNA is not working when I run Emby on Docker. I have seen in the documentation that the HTTP and HTTPS ports are mentioned, but no port for DLNA. Therefore I think it is not working. On the other hand, DLNA is often on different ports, as it depends on the application. I have found this thread: https://emby.media/community/index.php?/topic/38373-dlna-ports/ From this I suggest I need to allow port 1900 and 1901 for DLNA? If yes, I think this should be added to the documentation aswell. Cheers, Ice
Luke 42078 Posted October 7, 2018 Posted October 7, 2018 Yes that's correct. Try using the host network mode.
IceBoosteR 10 Posted October 7, 2018 Author Posted October 7, 2018 Yes that's correct. Try using the host network mode. Thanks, I will try to it it. So I need both ports? If I can resolve this by setting these ports I would really like to see it in the documentation, so others do have the same information.
Luke 42078 Posted October 7, 2018 Posted October 7, 2018 You can try it, from what i've seen with Docker you will generally need host networking mode and not bridge.
IceBoosteR 10 Posted November 10, 2018 Author Posted November 10, 2018 You can try it, from what i've seen with Docker you will generally need host networking mode and not bridge. Hi Luke, I have tried it. Did not work in bridge mode.
IceBoosteR 10 Posted December 15, 2018 Author Posted December 15, 2018 I would use host networking mode. In network-mode DLNA is working fine. Just tried it.
6zayn 0 Posted December 15, 2018 Posted December 15, 2018 (edited) Host network mode is safe to be on? https://vidmate.onl/vmate/ https://9apps.ooo/download/ https://luckypatcher.pro/apk/ Edited December 17, 2018 by 6zayn
Luke 42078 Posted December 15, 2018 Posted December 15, 2018 It just means that the Docker container will be able to utilize the network resources of the host system. This Docker wiki article may help clarify: https://docs.docker.com/network/host/ Please let us know if this helps. Thanks. 1
Guest Posted February 5, 2020 Posted February 5, 2020 The solution suggested in this thread also worked for me. Emby (via Docker) was not showing up in my DLNA list. I would like to add the complete workaround to help people in the future: In Docker-Compose.yml I added the following line: network_mode: host Running docker via command line should add: --network="host" After restarting the Emby container I immediately noticed the Emby LAN access ip-address was changed to the correct 192.168.** Now DLNA works great. I agree with IceBoosteR, it would have been nice if these lines are described in the Docker Hub: https://hub.docker.com/r/emby/embyserver/ As for security there is indeed a risk as the container is not "contained" anymore, however for most users this should not be an issue. "Note: --network="host" gives the container full access to local system services such as D-bus and is therefore considered insecure." https://docs.docker.com/engine/reference/run/
Luke 42078 Posted July 22, 2020 Posted July 22, 2020 @mister_tb thanks for the feedback ! We will improve the Docker instructions to make a note of the network mode.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now