How can I add a network interface (either a physical like eth0
or virtual like tap
) to Docker Overlay network overlaynet
? So that my interface becomes part of the layer 2 network with the other containers in that Overlay network?
When I used to deploy applications on a single Docker host, I just used to do the following to add a network interface to a Docker bridge network:
ip link set $my_network_interface master $some_docker_bridge
How can I achieve the exact same effect but for Overlay instead of Bridge?