To create a user-defined bridge network, one can use the docker network create command -
$ docker network create my-net
![](https://www.edureka.co/community/?qa=blob&qa_blobid=4171396585478166326)
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.