Re: Mesos/Marathon support for Docker extension
Yes. Tim Sent from my iPhone > On Jun 6, 2015, at 8:38 PM, Khanduja, Vaibhav > wrote: > > Hi Tim > > Are you referring to following pull request > > https://github.com/mesosphere/marathon/pull/798 > > Thanks > > >> On 6/6/15, 8:21 PM, "Timothy Chen" wrote: >> >> Hi Khadijah/Shuai, >> >> Mesos slave actually does invoke the docker cli directly for its >> integration. >> >> To support various options that docker will be adding we allowed >> arbitrary flags to be passed when launching a docker task (Params field I >> believe). >> >> Therefore if you know you have latest docker installed you can pass the >> Extra volume option and it should work. >> >> Tim >> >>> On Jun 6, 2015, at 7:51 PM, Shuai Lin wrote: >>> >>> Hi Khanduja, >>> >>> What I understand the slave code which calls in docker cli would need >>> this additional parameter to be passed into. >>> >>> >>> I don't think mesos slave invokes docker cli directly. It calls the >>> docker >>> api instead. >>> >>> Also Is there any official documentation/introduction to docker plugin >>> or >>> volume extensions? I found the following two pages when googling, but >>> non >>> of them has an official introduction to volume extension. >>> >>> https://clusterhq.com/2014/12/08/docker-extensions/ >>> https://github.com/docker/docker/pull/13161 >>> >>> Best Regards, >>> Shuai >>> >>> >>> On Sat, Jun 6, 2015 at 12:56 AM, Khanduja, Vaibhav >>> >>> wrote: >>> Recently docker pulled in code for supporting docker volume extensions. The docker now (1.9 & above) through CLI can be specified volume plugin name, which docker daemon connects get the actual storage. The plugin has today reasonable hooks for maintaining and cleaning the storage. I was wondering if there is any analysis done on the support of this in the code? What I understand the slave code which calls in docker cli would need this additional parameter to be passed into. Thx >
Re: Mesos/Marathon support for Docker extension
Hi Tim Are you referring to following pull request https://github.com/mesosphere/marathon/pull/798 Thanks On 6/6/15, 8:21 PM, "Timothy Chen" wrote: >Hi Khadijah/Shuai, > >Mesos slave actually does invoke the docker cli directly for its >integration. > >To support various options that docker will be adding we allowed >arbitrary flags to be passed when launching a docker task (Params field I >believe). > >Therefore if you know you have latest docker installed you can pass the >Extra volume option and it should work. > >Tim > >> On Jun 6, 2015, at 7:51 PM, Shuai Lin wrote: >> >> Hi Khanduja, >> >> What I understand the slave code which calls in docker cli would need >>this >>> additional parameter to be passed into. >> >> >> I don't think mesos slave invokes docker cli directly. It calls the >>docker >> api instead. >> >> Also Is there any official documentation/introduction to docker plugin >>or >> volume extensions? I found the following two pages when googling, but >>non >> of them has an official introduction to volume extension. >> >> https://clusterhq.com/2014/12/08/docker-extensions/ >> https://github.com/docker/docker/pull/13161 >> >> Best Regards, >> Shuai >> >> >> On Sat, Jun 6, 2015 at 12:56 AM, Khanduja, Vaibhav wrote: >> >>> Recently docker pulled in code for supporting docker volume extensions. >>> The docker now (1.9 & above) through CLI can be specified volume plugin >>> name, which docker daemon connects get the actual storage. The plugin >>>has >>> today reasonable hooks for maintaining and cleaning the storage. I was >>> wondering if there is any analysis done on the support of this in the >>> code? What I understand the slave code which calls in docker cli would >>> need this additional parameter to be passed into. >>> >>> Thx >>> >>>
Re: Mesos/Marathon support for Docker extension
Hi Khadijah/Shuai, Mesos slave actually does invoke the docker cli directly for its integration. To support various options that docker will be adding we allowed arbitrary flags to be passed when launching a docker task (Params field I believe). Therefore if you know you have latest docker installed you can pass the Extra volume option and it should work. Tim > On Jun 6, 2015, at 7:51 PM, Shuai Lin wrote: > > Hi Khanduja, > > What I understand the slave code which calls in docker cli would need this >> additional parameter to be passed into. > > > I don't think mesos slave invokes docker cli directly. It calls the docker > api instead. > > Also Is there any official documentation/introduction to docker plugin or > volume extensions? I found the following two pages when googling, but non > of them has an official introduction to volume extension. > > https://clusterhq.com/2014/12/08/docker-extensions/ > https://github.com/docker/docker/pull/13161 > > Best Regards, > Shuai > > > On Sat, Jun 6, 2015 at 12:56 AM, Khanduja, Vaibhav > wrote: > >> Recently docker pulled in code for supporting docker volume extensions. >> The docker now (1.9 & above) through CLI can be specified volume plugin >> name, which docker daemon connects get the actual storage. The plugin has >> today reasonable hooks for maintaining and cleaning the storage. I was >> wondering if there is any analysis done on the support of this in the >> code? What I understand the slave code which calls in docker cli would >> need this additional parameter to be passed into. >> >> Thx >> >>
Re: Mesos/Marathon support for Docker extension
Hi Shuai >From the link below, I pulled out changes needed while invoking docker cli or >docker api. This documentation is quite comprehensive and should tell what >changes are needed. https://github.com/docker/docker/pull/13161 …….. $ docker run -ti -v volumename:/data --volume-driver=flocker busy box sh There is similar api change needed .. .. Adding this plugin into Mesos would give all necessary storage extensions needed for Mesos/Marathon. Can we discuss to support this out? Thanks On 6/6/15, 7:51 PM, "Shuai Lin" mailto:linshuai2...@gmail.com>> wrote: Hi Khanduja, What I understand the slave code which calls in docker cli would need this additional parameter to be passed into. I don't think mesos slave invokes docker cli directly. It calls the docker api instead. Also Is there any official documentation/introduction to docker plugin or volume extensions? I found the following two pages when googling, but non of them has an official introduction to volume extension. https://clusterhq.com/2014/12/08/docker-extensions/ https://github.com/docker/docker/pull/13161 Best Regards, Shuai On Sat, Jun 6, 2015 at 12:56 AM, Khanduja, Vaibhav mailto:vaibhav.khand...@emc.com> wrote: Recently docker pulled in code for supporting docker volume extensions. The docker now (1.9 & above) through CLI can be specified volume plugin name, which docker daemon connects get the actual storage. The plugin has today reasonable hooks for maintaining and cleaning the storage. I was wondering if there is any analysis done on the support of this in the code? What I understand the slave code which calls in docker cli would need this additional parameter to be passed into. Thx
Re: Mesos/Marathon support for Docker extension
Hi Khanduja, What I understand the slave code which calls in docker cli would need this > additional parameter to be passed into. I don't think mesos slave invokes docker cli directly. It calls the docker api instead. Also Is there any official documentation/introduction to docker plugin or volume extensions? I found the following two pages when googling, but non of them has an official introduction to volume extension. https://clusterhq.com/2014/12/08/docker-extensions/ https://github.com/docker/docker/pull/13161 Best Regards, Shuai On Sat, Jun 6, 2015 at 12:56 AM, Khanduja, Vaibhav wrote: > Recently docker pulled in code for supporting docker volume extensions. > The docker now (1.9 & above) through CLI can be specified volume plugin > name, which docker daemon connects get the actual storage. The plugin has > today reasonable hooks for maintaining and cleaning the storage. I was > wondering if there is any analysis done on the support of this in the > code? What I understand the slave code which calls in docker cli would > need this additional parameter to be passed into. > > Thx > >
Re: Please add me to jira
Hey guys The issue 2588 is basically same to 2724, and we have more discussion in 2744, so please add me to jira membership, my jira username is baotiao Thank you 陈宗志 Blog: baotiao.github.io > On May 26, 2015, at 17:54, Till Toenshoff wrote: > > I have added you to the list of Mesos contributors - you should now be able > to assign the ticket in question to yourself. > >> On May 25, 2015, at 5:54 AM, baotiao wrote: >> >> Hi guys >> >> I would like to solve the issue 2588, I have commented in the issue, so >> could you add me to jira >> my jira username is baotiao >> >> Thank you >> >> >> >> 陈宗志 >> >> Blog:baotiao.github.io >> >> >> >> >