February 2018
Beginner
290 pages
7h 28m
English
The bridged situation is normal for Docker. An internal bridge is created and all the containers share the bridge, which means they can communicate among themselves, however the IP address for the containers is not exposed to the outside.
From the outside, the container services can be mapped to the host using Network and Port Address Translation.

In the preceding figure, Container 1 through Container n can all talk to each other. However, they cannot communicate externally, therefore, we expose the service through the Physical NIC using NAT.
Say Container 1 and Container 2 are both running a web server on port 80 and ...
Read now
Unlock full access