![]() ![]() ![]() The host driver allows the container to use directly the host network facility without any mapping. In the following photo, you can see the containers web and db attached to the same bridge driver on the same host that allow them to communicate. Behind the scenes, the Docker Engine creates the necessary Linux bridges, internal interfaces, IP-tables rules, and host routes to make this connectivity possible.Ä®xternal access is granted by exposing ports to containers. The bridge driver is the default one and it creates a private network that allows containers to communicate with each other. When a container uses the type none the networking is disabled. Docker provides by default some drivers whose names are: Networking overview in DockerÄocker has a pluggable networking system where plugins are called drivers. These concepts will be used to modify the PostgreSQL code to create three containers that communicate with each other via TCP/IP. In this article, I want to discuss a bit about how Docker networking works. ![]() This is the fourth article of the Getting started with Docker series. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |