Skip to content
masterclass Buddy

Docker · Concept

Overlay network

Docker's overlay driver connects containers and Swarm services across multiple Docker hosts. Hosts must be in the same swarm; use --attachable for standalone containers.

Last updated

Syntax

docker network create --driver overlay [--attachable] [--opt encrypted] [--subnet SUBNET] [--gateway GATEWAY] NETWORK

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Swarm
  • ingress network
  • docker_gwbridge
  • service discovery
  • DNS round-robin
  • VIP
  • docker network create

Source: Overlay network driver. Checked 2026-11-03.