Sorry if there's. a answer about that over there, but I really didn't find it.
I'm new on Docker. I have a OMV5 installation with some services and want to port all of them to Docker container.
But I want that each container has it's own real fixed IP address, given by my router DHCP.
I created a container in Portainer, Configured it to use macvlan and it works. But the IP address is assigned by Docker, and not the DHCP of my router. I don't even know if this IP address can change some day if the container is loaded after another.
the MACVLAN config is set to (IP example):
Subnet - 192.168.90.0/24
Gateway - 192.168.90.1
IpRange - 192.168.90.32/27 (I set this to avoid conflicts to other machines).
How can I configure it to ask the IP address from my router DHCP server ? This way I can control better the access to the application by IP, set DNS on my LAN, etc....