Docker uses the default “172.17.0.0/16” subnet for container networking. If your network already uses this subnet you have to change it. Usually I do this with the configuration file at “/etc/docker/daemon.json” (e.g. “bip”: “192.168.3.5/24”).
Is there any way to do this in “Home Assistant OS” ? Something like a “file overlay” which will be there after an update or reboot?
I assume this is the problem for some issues which have been reported here. Like this one
Same issue here. Running HASSOS on VMWare and had to put 3 NICs in my VM to be able to access my 3 networks (LAN, DMZ and IOT) in different 172.17.x.x subnets.
Why on earth does docker need a /16? Would also like to know how to change this.
So… it looks like creating the daemon.json file per this post works:
I just did so, rebooted and I’m up and running. I can reach my 172.16.0.100 HASS install from my 172.17.0.0/16 network and HASS can now see my devices on that network, too!