What is the difference between bridge network and overlay network

0 votes

Hi Guys,

I have configured the docker swarm in the Linux system. I have found the overlay driver in the network section. Can anyone tell me the difference between a bridge network and an overlay network?

Dec 28, 2020 in Docker by akhtar
• 38,170 points
93 views

1 answer to this question.

0 votes

Hi@akhtar,

The Bridge is the default network driver. If you don’t specify a driver, this is the type of network you are creating. Bridge networks are usually used when your applications run in standalone containers that need to communicate.

Overlay networks connect multiple Docker daemons together and enable swarm services to communicate with each other. You can also use overlay networks to facilitate communication between a swarm service and a standalone container, or between two standalone containers on different Docker daemons. This strategy removes the need to do OS-level routing between these containers.

answered Dec 28, 2020 by MD
• 95,060 points

Related Questions In Docker

0 votes
1 answer

What is the difference between “expose” and “publish” in Docker?

Basically, you have three options: Neither specify EXPOSE nor -p -> ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 7,020 points
1,882 views
0 votes
3 answers

What is the difference between a Docker image and a container?

Images are read-only templates that contain a ...READ MORE

answered Aug 10, 2020 in Docker by Vishal
• 260 points
4,651 views
0 votes
1 answer
+1 vote
1 answer

what is the difference between docker swarm and kubernetes

Both Kubernetes and Docker Swarm are important ...READ MORE

answered Sep 24, 2019 in Docker by Sirajul
• 58,990 points
997 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,100 points
1,039 views
0 votes
1 answer

could not initialize port layer: bridge mask is not compatible with bridge pool mask

Hi@akhtar, You may specified a --bridge-network-range that cannot accommodate a ...READ MORE

answered Apr 8, 2020 in Docker by MD
• 95,060 points
61 views
0 votes
1 answer

[ERROR] [Entrypoint]: Database is uninitialized and password option is not specified

Hi@akhtar, As we know mysql database requires user ...READ MORE

answered Apr 14, 2020 in Docker by MD
• 95,060 points
2,350 views