diff --git a/slides/images/bridge1.png b/slides/images/bridge1.png new file mode 100644 index 00000000..70b3128b Binary files /dev/null and b/slides/images/bridge1.png differ diff --git a/slides/images/bridge2.png b/slides/images/bridge2.png new file mode 100644 index 00000000..9d44ab62 Binary files /dev/null and b/slides/images/bridge2.png differ diff --git a/slides/intro/Container_Network_Model.md b/slides/intro/Container_Network_Model.md index 851c8d33..8486e860 100644 --- a/slides/intro/Container_Network_Model.md +++ b/slides/intro/Container_Network_Model.md @@ -75,6 +75,8 @@ eb0eeab782f4 host host --- +class: extra-details + ## Differences with the CNI * CNI = Container Network Interface @@ -87,6 +89,22 @@ eb0eeab782f4 host host --- +class: pic + +## Single container in a Docker network + +![bridge0](images/bridge1.png) + +--- + +class: pic + +## Two containers on two Docker networks + +![bridge3](images/bridge2.png) + +--- + ## Creating a network Let's create a network called `dev`. @@ -284,7 +302,7 @@ since we wiped out the old Redis container). --- -class: x-extra-details +class: extra-details ## Names are *local* to each network @@ -472,11 +490,13 @@ b2887adeb5578a01fd9c55c435cad56bbbe802350711d2743691f95743680b09 * If containers span multiple hosts, we need an *overlay* network to connect them together. -* Docker ships with a default network plugin, `overlay`, implementing an overlay network leveraging VXLAN. +* Docker ships with a default network plugin, `overlay`, implementing an overlay network leveraging + VXLAN, *enabled with Swarm Mode*. * Other plugins (Weave, Calico...) can provide overlay networks as well. -* Once you have an overlay network, *all the features that we've used in this chapter work identically.* +* Once you have an overlay network, *all the features that we've used in this chapter work identically + across multiple hosts.* ---