Containers: Avoiding “privileged” and “host network” as much as possible

I got it working here now and the solution turned out to be much simpler than the lengthy explanations and configurations I ran into. I only had to:

  1. Install avahi-daemon on the host.

  2. Turn on the reflector. Go into /etc/avahi/avahi-daemon.conf and change the reflector section to:

     [reflector]
     enable-reflector=yes
     reflect-ipv=no
    

With this in place HA was able to detect the devices it could cast to.

The sources I ran into on the web we discussing incrementing the TTL of packets, etc. That turned out to be a red herring on which I lost quite a bit of time. :frowning:

It took some more work to get TTS to play on the devices. You need a proper base_url, etc. Those issues are discussed in a whole bunch of posts on this forum.

7 Likes