Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Docker Containers and Network Interfaces

A Docker network defines a communication trust zone where communication is unrestricted between containers in that network.

Each network is associated with a bridge interface on the host, and firewall rules are defined to filter traffic between these interfaces. Typically, containers within a zone that share the same Docker network and host bridge interface can communicate with each other. An exception to this general rule is that apps run on the same dockerApps network, but are isolated from each other by the firewall.

Docker Interfaces

To view a list of Docker interfaces, type the following command:

Here's an example of the output:

The dockerApps interface is used to apply rules for communication between apps.

The appProxy interface displays the nginx_framework_apps_proxy container.

The dockerInfra interface is used to host service launcher and qoauth. Apps are isolated from most infrastructure components but they must be able to connect to service launcher and qoauthto manage secrets and authorization.

Information about Docker Interfaces

Type the following command to get information about Docker interfaces:

Here's an example of the output:

This example shows how you use the docker inspect <docker_container_ID> command and pipe it to less to view more network details:

Here's an example of the output:

The output in this example shows the configuration of the network that is used by the specified container (d9b3e58649de), and shows the Docker network interface name (dockerApps) and the IP address of the network that is assigned to the Docker container.