4 ms·
I'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
by vetinari 5y ago
I'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.