Docker logo

Dockers seven network types and when to use them

1. The Default Bridge This is the default network that new containers will connect to. It’s a software bridge between your docker instance and your host system, providing isolation between the bridge network and other networks, including the host network and other bridge networks on the host. Docker best practices discourage using this network for containers, recommending User-Defined bridges instead, which we will get to in #4. When to use it: Avoid using the Default Bridge, use another network type instead where possible...

25 August 2022 · 5 min · 1049 words · Aiden Arnkels-Webb