To create a user-defined bridge network, one can use the docker network create command -
$ docker network create my-net
You can specify the subnet, the IP address range, the gateway, and other options. See the docker network create reference or the output of docker network create --help for details.