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,230 points
7,168 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,440 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,050 points
3,049 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
6,096 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
• 59,230 points
1,925 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,090 points
2,426 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,440 points
361 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,440 points
13,679 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP