docker compose use networks and network_mode code example Example: how to create a host driver in docker $ docker network create -d bridge my-bridge-network