Network Drivers (bridge, host, none, macvlan)

LEVEL 0

The Problem

So far, every network you’ve created has been a bridge network. And bridge networks work great for most use cases.

But imagine these scenarios:

Scenario 1: You’re running a performance monitoring tool that needs to see ALL network traffic on the host. It needs direct access to the host’s network interfaces—no virtual networking, no translation, maximum performance. Bridge networking adds overhead.

Scenario 2: You’re running a security-sensitive workload that processes classified data. This container should have ZERO network access. Not even to other containers. Complete isolation.

Scenario 3: You’re containerizing a legacy application that was designed to run on a physical server with its own MAC address on the corporate LAN. IT expects to see this application as a physical device at a specific IP address.

Scenario 4: You need containers to participate directly in your VLAN infrastructure, appearing as if they’re physical machines on specific VLANs.

Bridge networking can’t solve all these problems. You need different network drivers.