ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 362 - DOP-C01 discussion

Report
Export

What does the Docker network docker_gwbridge do?

A.
allows communication between containers on the same host
Answers
A.
allows communication between containers on the same host
B.
allows communication between swarm nodes on different hosts
Answers
B.
allows communication between swarm nodes on different hosts
C.
allows communication between swarm nodes on the same host
Answers
C.
allows communication between swarm nodes on the same host
D.
allows communication between containers on the different hosts
Answers
D.
allows communication between containers on the different hosts
Suggested answer: B

Explanation:

The docker_gwbridge is a local bridge network which is automatically created by Docker in two different circumstances:

When you initialize or join a swarm, Docker creates the docker_gwbridge network and uses it for communication among swarm nodes on different hosts. When none of a container's networks can provide external connectivity, Docker connects the container to the docker_gwbridge network in addition to the container's other networks, so that the container can connect to external networks or other swarm nodes.

Reference: https://docs.docker.com/engine/userguide/networking/#the-docker_gwbridge-network

asked 16/09/2024
sd sdg
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first