AWS DevOps Engineer Professional DOP-C01 – Question489

What does the Docker network docker_gwbridge do?

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

Correct Answer: B

Explanation:

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_gwb…