Question about LMS, ShairTunes2, and the mDNS service

So, I’m sure (I hope!) there’s some people here running LMS (Lyrion Music Server, formerly Logitech Music Server) as a custom app via Docker. (On TrueNAS Scale ElectricEel-24.10.2)

The things is, if I want to use the ShairTunes2 plug-in in LMS (that makes a Squeezebox appear as an AirPlay device on the local network) I can only get it to work when I switch off TrueNAS’ mDNS service, via Network → Global Configuration. It is a minor inconvenience, now I don’t see my shares (accessing them form another machine) automatically, but of course I can reach them by (static) IP number. If someone can give me any pointers as to how to configure things in order to keep using TrueNAS mDNS service that would be much appreciated! The ShairTunes2 plug-in can be found here: https://github.com/philippe44/LMS-ShairTunes2W. If additional info is needed, let me know.

I think I solved it: I added -mdns as a command to the docker configuration. I hope it will help someone in the future.