docker custom network code example
Example 1: docker create network
// docker network create -d <TYPE> <Name>
docker network create -d bridge my-bridge-network
Example 2: docker network create
$ docker run -itd --network=mynet busybox
// docker network create -d <TYPE> <Name>
docker network create -d bridge my-bridge-network
$ docker run -itd --network=mynet busybox