I know that’s a strong simplification, you can find lot of good explanation about Docker networking on Slideshareĭifferent methods to connect a Docker container to the network can be found HERE , is essentially a Port Address Translation
This isn’t supposed to be the way of work of containers: a container should be created to run a single application so container networking, from the point of view of a Network Engineer With a very specific target in mind: bridge container to the host network.