I'm experimenting with moving LMS into a Docker container and I've hit a stumbling block with ShairTunes.
As I'm on a Pi host, it is running Raspbian which, by default, has the Avahi daemon running. This binds to 5353:udp on all interfaces and therefore blocks Docker from doing so and forwarding it to the container. Without this port, ShairTunes' internal mDNS server cannot advertise so the server cannot be found. I have a couple of options: - Disable Avahi on the host. This makes running the container more complicated on a new host and could compromises other mDNS services. - Running the container in "host" networking mode (instead of the default "bridge"). This is considered less secure and I'm still relying on Avahi and ShairTunes to be able to share the port with one running natively and one in a container. I'm not sure whether this works even when both are running normally on the host. - Investigating whether the container can interact with the host's Avahi and advertise through that. I'm interested in whether (3) is feasible. I understand that ShairTunes will try to use an existing mDNS server if one is already running but I don't know what the mechanism is. Is it something that would work through a container, such as by exposing points in the file system (e.g. /etc/avahi/services/) or a device to the container? ------------------------------------------------------------------------ BobSammers's Profile: http://forums.slimdevices.com/member.php?userid=66026 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
