create a docker network with subnet code example Example: how to create a host driver in docker $ docker network create -d bridge my-bridge-network