-
you need to create a docker macvlan network
-
you need to be able to pick that network for an apps network, and specify an ip
Which leads to an interesting feature… which is the ability to create/delete any docker networks and assign them… not just macvlan… good for proxies etc
Then you have another issue which is the host/app can’t communicate.
The traditional TN way to solve this is to put a bridge in (to be honest, I forget if this works, its been a while since I tested it)
An alternative, is to add a macvlan interface to the host, and if desired setup routing, but its not needed if the host itself is on the macvlan.