Networking

1 / 13

The container needs to talk. Right now it has no network at all — or rather, it has the host's, which is worse: it can bind the host's ports and see the host's interfaces.

Fixing that takes three pieces. A network namespace to hold an isolated stack. A veth pair — a virtual cable with a plug at each end. And a bridge, which is a software switch on the host that the container plugs into.

Finish →