4 ms·
Once the Linux on M1 becomes available you could run it that way. Right now the issue is that Home Assistant relies on being on the same network (bridged into t
by ArchOversight 5y ago
Once the Linux on M1 becomes available you could run it that way. Right now the issue is that Home Assistant relies on being on the same network (bridged into the container) as the rest of your devices so it can see the broadcasted messages from IoT devices.
- vetinari 5y agoI'm running HA inside docker with two networks: one macvlan-based, which is connected to iot-VLAN host interface. Here, HA can talk to devices (this adapter is set in Settings | General | Network Adapters for the broadcast). The other is bridge (docker net driver one, not linux one) - i.e. it is in it's private, host-only subnet and a reverse proxy running on a host publishes the web app for the users on the main LAN.
- ArchOversight 5y agoSure, and that works great when you are using Linux to run Docker as you have full control over the networking. For docker on macOS as the OP is using, you only get a single network, and it is an emulated one using vpnkit into the VM. You can't attach a network adapter directly to the VM, which means the docker containers running inside the VM can't see the IoT devices.