• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
September 15, 2022 |1.1K Views
Docker networking model
  Share   Like
Description
Discussion

In this video, we'll see the Concepts of Docker networking model, types of networks, networking commands, difference between host, bridge, null drive with examples, what is networking namespace, basic overview of docker service and overlay network. 

Networks are built so that the devices connected to them can communicate with one another and transfer files. In Docker, we can also establish networks, containers, and connections to those networks. Containers connected to the same network can communicate with one another. These containers are also capable of communicating with the host where Docker is installed. The IP address of each other will be used for communication. One or more of the networks on that Docker host can be accessed by a container. 

You may use Docker Networking to build a network of Docker containers that are controlled by a management master node. By exchanging data packets, containers connected to the Docker Network can communicate with one another. You may establish, administer, and configure your Docker Network using the main command, which is Docker Network. Use the inspect command to view the information pertaining to that specific network. By performing the command, we first connect the container to the default bridge, a driver that offers a default DNS service to the containers connected to it. 

With the help of Docker, you may establish dedicated channels between numerous containers to build a network of containers that can exchange files and other resources. It's known as Docker Networking. With several types of network drivers, such as bridge drivers and McVLAN drivers, you may build Docker networks. If you don't specify a driver while setting up a network, it will by default use the bridge driver. Bridge drivers are single-host networking drivers, hence they only have local impact. 

Reference Article: 
1. https://www.geeksforgeeks.org/creating-a-network-in-docker-and-connecting-a-container-to-that-network/
2. https://www.geeksforgeeks.org/basics-of-docker-networking/
3. https://www.geeksforgeeks.org/how-to-use-docker-default-bridge-networking/