Hey Steven, If you check the marathon REST API documentation https://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps <https://mesosphere.github.io/marathon/docs/rest-api.html#post-v2-apps> you can see you can add docker parameters. However, I still feel the need to mention this is the Mesos mail list and you should post your Marathon related questions to the Marathon mailing list.
> On 12 Aug 2015, at 09:16, Stephen Knight <[email protected]> wrote: > > Hi, > > Is there a way to pass a custom flag to docker run through the Marathon API? > I've not seen anything in the documentation, this could just be a basic > reading fail on my part. What I want to do is use Calico (or similar) with > Docker and provision containers via Marathon. > > Weave is messy for what I am trying to achieve and the integration isn't > going as planned, is there a better option and how can you then integrate it? > Does that flexibility exist in the Marathon API? > > Thx > Stephen

