In the doc I could only find this :
hostallows the container to share the same network namespace as the host OS. When this is set, any ports exposed on the container will be exposed locally on the device. This is necessary for features such as bluetooth.
What are other mode available ? bridge ?
Also is there a doc somewhere for creating custom docker network at the balena OS side ?
The reason for this is we wish to allow container to be accessible ONLY from some interfaces. (Our Pi has 3 connected Interfaces (wlan0 / eth0 and eth1 via an extra dongle)
We want some container to expose port only on some network.
For example :
expose port 443 on eth0-linked network (can be a docker network with access to only that side).
expose no port on the eth1-linked network BUT use this as the internet out connectivity.