I’ve created an overlay network and I’d like for different docker daemons on different hosts to use unique subnets.
E.G. host1 uses 192.168.1.0/24 and host 2’s containers are launched into 192.168.2.0/24.
Does anybody know how to do this? I can easily launch containers on different hosts into the overlay network but they all use the 192.168.1.0 subnet.
Does this involve configuration at the docker-daemon level? Maybe --fixed-cidr? Or when creating a container is there a flag used in conjunction with --net=my_net?