create a docker network code example
Example 1: docker create network
// docker network create -d <TYPE> <Name>
docker network create -d bridge my-bridge-network
Example 2: how to create a host driver in docker
$ docker network create -d bridge my-bridge-network
Example 3: docker network create
$ docker run -itd --network=mynet busybox