Learning - Docker Swarm Network Drivers
The default network driver. Needs to map the port to host in order to access port of container.
Removes network isolation between the container and the Docker host, and uses the host's networking directly. So the containers can not have port conflicting with other containers and also host.
The IP will be the same as host.
Disables all networking for containers. Usually used in conjunction with a custom network drive.
Connect multiple Docker daemons together and enable swarm services to communicate with each other daemons.
Using this overlay network, the container on different hosts can communicate with each other.
Allow you to assign a MAC address to a container, making it appears as a physical device on the network. The Docker daemon routes traffic to container by their MAC addresses.
This allows container has different IP address on the host network.