Multihost configuration on Docker

Entire tutorial here:

This is an excellent alternative if your system is based in Docker and you want to enable communication between dockers placed in different hosts. Using the overlay network each docker will get a 10.0.0.X IP that will be visible by all containers regardless of its host.

In our use case we have used etcd as p2p key-value storage so it must be running in all nodes to keep track of the different changes on the network. The only drawback is that you will need to use as a master node one container attached to the network because none of the external hosts will have access to all containers.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s