On 03/31/2017 07:51 PM, Jie Yu wrote:
Tomek and Olivier,
The bridge network support (with port mapping) has been added to Mesos
1.2. See this doc for more details how to use it:
https://github.com/apache/mesos/blob/master/docs/cni.md#a-port-mapper-plugin-for-cni-networks
TL;DR: we developed a CNI port mapper plugin (DNAT) in Mesos repo, and
uses a delegation model in CNI. For the bridge CNI plugin, you can
simply use the default bridge plugin in CNI repo
(https://github.com/containernetworking/cni). @avinash can explain
more here.
Am I right thinking we can achieve the same as
MesosContainerizer/CNI/Bridge network plugin wrapped by the port mapper
plugin with the DockerContainerizer ?
Thanks.
--
TH