Closed inful closed 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.
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.
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