docker network code example
Example 1: how to create a host driver in docker
$ docker network create -d bridge my-bridge-network
Example 2: check subnets docker
docker network ls [OPTIONS]
Example 3: display docker networks
#list docker networks
docker network ls
Example 4: docker network create
$ docker run -itd --network=mynet busybox