Kubernetes Networking
· β 4 min read
1. Docker’s Network Model 1.1 bridge Mode bridge mode is used by default, and you can also specify it with --net=bridge.
In bridge mode, containers connect to the same virtual bridge, docker0. docker0 usually occupies the 172.17.0.1/16 subnet. Containers on the same bridge can communicate directly over IP.
1.2 host Mode Use --net=host to specify host mode.