Re: Custom flags to docker run

2015-08-12 Thread Alexander Rojas
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 skni...@pivotal.io 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



Re: Custom flags to docker run

2015-08-12 Thread Stephen Knight
I understand, thanks for the help. I'll dig a little deeper on the right
mailing list.

On Wed, Aug 12, 2015 at 11:34 AM, Alexander Rojas alexan...@mesosphere.io
wrote:

 Hey Steven,

 If you check the marathon REST API documentation
 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 skni...@pivotal.io 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





Re: Custom flags to docker run

2015-08-12 Thread Paul Bell
Hi Stephen,

Via Marathon I am deploying Docker containers across a Mesos cluster. The
containers have unique Weave IP@s allowing inter-container communication.
All things considered, getting to this point has been relatively
straight-forward, and Weave has been one of the IJW components.

I'd be curious to learn why you're finding Weave messy.

If you'd like to take it out-of-band (as it were), please feel free to
e-mail me directly.

Cordially,

Paul

On Wed, Aug 12, 2015 at 3:16 AM, Stephen Knight skni...@pivotal.io 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