Lab 4: Create an Overlay network
Homework Lab : https://labs.play-with-k8s.com/
Create an overlay network called myoverlay0
docker network create --driver=overlay --subnet=192.168.1.0/24 --gateway=192.168.1.100 myoverlay0
Listout the networks in the host
docker network ls
View the details of network myoverlay0
docker network inspect myoverlay0
Create an encrypted overlay network
By default application data is not encrypted, to encrypt application data as well, we need to add –opt encrypted while creating Overlaynetwork.
docker network create -d overlay --opt encrypted encrypted_overlay
Last updated
Was this helpful?