docker compose create overlay network code example Example: create a swarm-scoped network $ docker network create -d overlay my-overlay