> On Aug 3, 2019, at 10:59 PM, Marc Roos <m.r...@f1-outsourcing.eu> wrote:
>
>
> I read you can add a hostname option to the container in this issue[0],
> however I still have the uuid. Is this in available in mesos 1.8?
Yep.
> Can I
> somewhere read all these options? Like here[1]
The Mesos API is defined in the ContainerInfo protobuf, but I’m not sure how
marathon maps that
https://github.com/apache/mesos/blob/master/include/mesos/v1/mesos.proto#L3395
>
>
> [@ cni]# cat 2f261fa8-4985-4614-b712-f0785ca6ce04/hosts
> 127.0.0.1 localhost
> 192.168.123.32 2f261fa8-4985-4614-b712-f0785ca6ce04
>
> [0]
> https://reviews.apache.org/r/55191/
> [1]
> http://mesosphere.github.io/marathon/api-console/index.html
>
> Using mesos 1.8
> And
>
> "container": {
> "type": "MESOS",
> "hostname": "test.example.com",
> "docker": {
> "image": "test",
> "credential": null,
> "forcePullImage": true
> },
> "volumes": [
> {
> "mode": "RW",
> "containerPath": "/dev/log",
> "hostPath": "/dev/log"
> }
> ]
> },