I have multiple containers that uses services like UPNP, that needs a hostconnection to work properly. After some googling, I think the best solution is to do a vitualmachine-like-solution, where the containers in question have a LAN accessible IP assigned at access to all the ports, like net=host. I believe the way to go is to create a bridge that is bound to an public IP on eth0, and then do a docker run --net=bridgeXX.
I have tried to figure out how to create this bridge, without any luck.
Anyone tried anything like this before?
Or maybe Macvlan could be a solution.