Introduction to Docker networking
There are multiple communication requirements for containers/service as follows. CoreOS and Docker together should provide a mechanism to meet all the following requirements:
Container–Container communication in the same CoreOS node
Container to CoreOS host communication
Container to external world communication
Container–Container communication in a different CoreOS node
Let us look into how CoreOS provides these functionalities for the docker container in the following sections.
Container–Container communication
This section describes in detail the different mechanisms provided by the CoreOS and Docker/Container technology to provide communication across different instances of Docker. There are multiple ways to provide this communication as follows:
Docker0 bridge and veth pair
Using Link
Using common network stack
Docker0 bridge and veth pair
Docker0 bridge is a Linux bridge created by docker in order to provide communication across different docker containers....