larsks / docker-image-logitech-media-server

MIT License
33 stars 74 forks source link

Exposed 3483/udp for server autodiscovery #1

Closed inful closed 9 years ago

inful commented 9 years ago

This enables the possibility for serverautodiscovery from squeezebox radio. expose the udp port by running docker run -d \ -p 9000:9000 \ -p 3483:3483 \ -p 3483:3483/udp \ -v :/srv/squeezebox \ -v :/srv/music \ larsks/logitech/media-server

larsks commented 9 years ago

Thanks! Note that for all practical services, EXPOSE is a no-op outside of multi-container environments; you can pass -p 34383:3483/udp to docker run even without EXPOSE in the Dockerfile.

inful commented 9 years ago

That was my understanding as well. However, according to iptables -L -n, the udp port was not opened before I changed this in the Dockerfile and rebuilt. Same run command, different results.