← Back to context

Comment by shykes

1 month ago

As far as I know, Docker uses the term "bridge" in the standard way, to designate the use of Linux bridge interfaces (basically virtual ethernet switches) to interconnect containers. Containers connect to each other via a layer 2 bridge, not NAT.

It has as much sense as calling all the car roads in the world 'bridges'. They are interconnecting some areas via a physical connection, not some 5th dimension magik, after all.

It's even more egregious with 'ipvlan' and 'macvlan' drivers:

> ipvlan Connect containers to external VLANs.

Duh, that's a 'routed network' and nobody cares if it's on a separate vlan or not.

> macvlan Containers appear as devices on the host's network.

And this is a bridge!