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