This is great, and almost what I need! However, I'm running containers in a Docker Swarm and I can't add the NET_ADM capability to a container, the option is ignored. I haven't tried if host network mode works, but will do that tonight. However, I'm fairly certain that DHCP broadcasts are not picked up by the dhcphelper container anyway without NET_ADM. Would you know of a way to make this also work in a Swarm?
Thanks in advance for your advice! I'm kind of new to Docker and Docker Swarm, so I might be missing something super obvious..