Hello, I’m a new Docker user and I’m interested in creating a network in docker in order to connect multiple containers that will have different purposes (FTP Server, HTTP Server, etc) and will be located in different subnets.
I used the following code:
docker network create -d overlay --subnet=192.168.10.0/29 --subnet=192.168.10.8/29 --subnet=192.168.10.16/29 --ip-range=192.168.10.0/27 redoverlay
My question is, Did I create the network correctly? Or should I add more information while creating it?, and also, is it possible that using the network above to restrict the internet access for one or multiple subnets that I created?