The Commands
This lesson lists all the relevant Docker network overlay commands with brief reminders of what each one does.
We'll cover the following
The summary of commands for Docker Overlay Network
docker network create
tells Docker to create a new network. You use the-d overlay
flag to use the overlay driver to create an overlay network. You can also pass the-o encrypted
flag to tell Docker to encrypt network traffic. However, performance may drop in the region of 10%.docker network ls
lists all the container networks visible to a Docker host. Docker hosts running in swarm mode only see overlay networks if they run containers attached to the network. This keeps network-related management traffic to a minimum.
Get hands-on with 1300+ tech skills courses.