I want to test a bit with mesos, docker images on the mesos
containerizer and cni. Just give a container an ip.
This is not possible with marathon <1.5? I am using the mesosphere repo
for el7, is there some repo that has 1.5?
I tried to add this to the container configuration
"networks": [ { "mode": "container", "name": "mynet" } ],
[@m03 ~]# cat /etc/mesos-cni/10-mynet.conf
{
"cniVersion": "0.2.0",
"name": "mynet",
"type": "bridge",
"bridge": "cni0",
"isGateway": true,
"ipMasq": true,
"ipam": {
"type": "host-local",
"subnet": "10.22.0.0/16",
"routes": [
{ "dst": "0.0.0.0/0" }
]
}
}
On the github page of marathon
(https://github.com/mesosphere/marathon/blob/master/docs/docs/networking
.md) they are writing 1.5 is necessary for this?
More info I got from this demo https://youtu.be/0UMCoojACOs?t=1411
CentOS7 3.10.0-693.2.2.el7.x86_64
mesos-1.4.0-2.0.1.x86_64
marathon-1.4.8-1.0.660.el7.x86_64
containernetworking-cni-0.5.1-1.el7.x86_64
mesosphere-zookeeper-3.4.6-0.1.20141204175332.centos7.x86_6