edit-icon download-icon

Cross-host interconnected container network

Last Updated: Feb 08, 2018

The network created by Container Service for the swarm mode cluster is a cluster network. Containers in the same network can access each other by using the container IP address.

Example

In this example, two applications, nginx and wordpress1, are deployed on different nodes in the swarmmode cluster. Both nginx and wordpress1 are added to the swarmmode network.

1

2

You can connect to the web terminal to access the IP address of the container of wordpress1 application in the container of the nginx application.

2

Thank you! We've received your feedback.