I want to assign an IP range for a docker network like so:
$ docker network create \
--driver=bridge \
--subnet=192.168.0.0/24 \ <=== I'm guessing here. Don't know what needs to go here.
--ip-range=192.168.0.0/26 \
--gateway=192.168.0.62 \ <===== Don't know what need to be here either
br0
But I don't understand the reason for the subnet option.
What would the subnet be if I need to assign the bridge network the following IP range:
192.168.0.1 - 192.168.0.62
Also, what should the gateway be? I'm confused on how to create this network bridge correctly.
The reason why I need to specify a ip-range, is that I created a Docker bridge network and Docker assigned it a subnet that clashed with the IP of one sites I need to use and I couldn't reach my site anymore.