Docker Community Forums

Share and learn in the Docker community.

Create overlay network which gets dhcp addresses

I would like to swarm ~100 containers, managed by docker swarm/service, but I need the containers to have IPs from my dhcp server (I need them to have routable IP in my local network). Is it possible? I found dhcp-oriented driver plugins for docker, unfortunately they are bridge-type, so docker service create doesn’t see such net. There is also bigger context: I would like to run these containers using pipelines from internal gitlab, maybe this gives some possibilities/alternatives?