How Containers Actually Work: Building Container Networking From Scratch

Containers often feel like magic, and container networking can seem like a higher form of black magic. A process starts, gets its own IP address, can reach the internet, and talks to other containers. All without us touching low-level networking. But nothing magical is happening. Under the hood, container networking is built from a small set of Linux primitives: network namespaces, virtual…