[openstack-dev] [Magnum] Does Docker-Swarm not support inter-node/vm inter-container networking ?

Ton Ngo ton at us.ibm.com
Tue Jul 19 22:58:07 UTC 2016


Hi Greg,
     This is a capability that we are working on at this time:  enabling
Docker libnetwork using the Kuryr driver.
This will let you set up networks where the containers are connected to and
they will be allocated unique routable IP.
In the current default networking mode, you can still let container
provides service to each other through Docker
port mapping.  The end point for the container service would be the IP
address of the VM where the container is hosted
together with the port mapped.   You just cannot ping from one container to
another across VM's in this mode.
Ton Ngo,




From:	"Waines, Greg" <Greg.Waines at windriver.com>
To:	"openstack-dev at lists.openstack.org"
            <openstack-dev at lists.openstack.org>
Date:	07/19/2016 11:12 AM
Subject:	[openstack-dev] [Magnum] Does Docker-Swarm not support
            inter-node/vm inter-container networking ?



I have successfully setup devstack with Magnum,
following this link
https://github.com/openstack/magnum/blob/master/doc/source/dev/quickstart.rst#building-and-using-a-swarm-bay

I created a Docker-Swarm bay and successfully launched some simple
containers.

I noticed that Docker-Swarm’s Container Networking Solution seems to simply
be an SNAT on its swarm-node VM.
And noticed that Docker-Swarm assigns the same Container subnet to each
swarm-node VM … and re-uses Container IP Addresses from this subnet across
swarm-node VMs.

Given this … it does not appear that Docker-Swarm can support networking
between two containers on different swarm-node VMs.
Is this True ?
OR
Is there a configuration option, thru Magnum or Docker-Swarm to enable this
inter-node inter-container Networking ?

Greg.
 __________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160719/14c06ce8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160719/14c06ce8/attachment.gif>


More information about the OpenStack-dev mailing list