I downloaded the influxdb docker image and am running it from Marathon, 
I would like to bind it to a static ip. What would be the 'best' way to 
do this? Sorry for if this is a very basic question. Link to an 
appropriate howto is also welcome.



{
  "id": "/influxdb",
  "cmd": null,
  "cpus": 0.5,
  "mem": 128,
  "disk": 0,
  "instances": 1,
  "acceptedResourceRoles": [],
  "container": {
    "type": "MESOS",
    "volumes": [],
    "docker": {
      "image": "influxdb",
      "credential": null,
      "forcePullImage": false
    }
  },
  "portDefinitions": [
    {
      "port": 10001,
      "protocol": "tcp",
      "labels": {}
    }
  ]
}



I have a default setup on centos7:
marathon-1.4.8-1.0.660.el7.x86_64
mesosphere-zookeeper-3.4.6-0.1.20141204175332.centos7.x86_64
chronos-2.5.0-0.1.20170816233446.el7.x86_64
mesos-1.4.0-2.0.1.x86_64

Running mesos-dns in Marathon


        
        

​




Reply via email to