Learn how to virtualize network resources for containers, enable communication between containers, and establish connectivity with the outside world.
Table of contents
PrerequisitesMain network environment components (devices, routing tables, firewall rules)Creating the first container using a network namespace (netns)Connecting containers to host using virtual Ethernet devices (veth)Creating the second container repeating the same stepsInterconnecting containers using a virtual network switch (bridge)Reaching out to the outside world (IP routing and masquerading)Letting the outside world reach out to containers (port publishing)Understanding Docker network typesConclusionSort: