How to add a network interface to Docker Overlay network?

pe flag

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?


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.