docker swarm auto create network code example
Example 1: how to create a host driver in docker
$ docker network create -d bridge my-bridge-network
Example 2: create a swarm-scoped network
$ docker network create -d overlay my-overlay
$ docker network create -d bridge my-bridge-network
$ docker network create -d overlay my-overlay