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