I've been trying to get this to work on Swarm, and from what I can find via Google and testing it will never work as a swarm service because Swarm mode only allows the subnet to be set on the IPAM config for swarm networks.
For background, the dhcp subnet is an external subnet which has an assignable range and a reservable range. Since Docker has not added support for true DHCP on a container yet I assign a assignable range to the Docker service and the DHCP server, and use static IPs for containers I need to NAT to from my firewall. This keeps management simple and allows me to use only docker instead of a mix of Docker and VMs.
Unfortunately I cannot use this with swarm, and I'm uncertain if this is a bug, an oversight, or a feature in progress. I also do not see anything in the current open or closed issues on this topic.
Is this something that is being worked on or fixed? Or should I call this a feature request and change the title?
I've been trying to get this to work on Swarm, and from what I can find via Google and testing it will never work as a swarm service because Swarm mode only allows the subnet to be set on the IPAM config for swarm networks.
For background, the
dhcp
subnet is an external subnet which has an assignable range and a reservable range. Since Docker has not added support for true DHCP on a container yet I assign a assignable range to the Docker service and the DHCP server, and use static IPs for containers I need to NAT to from my firewall. This keeps management simple and allows me to use only docker instead of a mix of Docker and VMs.Unfortunately I cannot use this with swarm, and I'm uncertain if this is a bug, an oversight, or a feature in progress. I also do not see anything in the current open or closed issues on this topic.
Is this something that is being worked on or fixed? Or should I call this a feature request and change the title?