You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Nirmal Fernando <ni...@wso2.com> on 2014/01/17 04:41:38 UTC

Support to spawn/stop LXC instances via jClouds :-)

Hi All,

I've implemented the basic jClouds API for Docker (Lxc) [1] in last day or
so. Now I could create, start, stop LXC containers using jClouds. And [2]
is a tiny demonstration on the test carried out.

Building a jClouds API from scratch is not an easy task, but I got immense
help from Ignasi. @Ignasi thanks so much!

Code is still in the very early state, but this would hopefully be a step
forward for jclouds LXC support.

I'd like to see this code in jClouds and let it evolve. Let me know if you
all would like to have it and how should I proceed.

[1] http://www.docker.io/
[2] http://www.youtube.com/watch?v=TD9V_sNir7o&feature=youtu.be

-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
PPMC Member and Committer Apache Stratos,
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Andrea Turli <an...@gmail.com>.
Hi all,

I'm happy to say that the initial support for Docker is under review
(thanks Ignasi!)

Please feel free to checkout it from
https://github.com/jclouds/jclouds-labs/pull/57 and report on the
behavior/expectations or suggestions.

Thanks!

On Wed, Feb 5, 2014 at 4:48 PM, Andrea Turli <an...@gmail.com> wrote:
> Thanks Nirmal,
>
> yeah it is quite ready to be PRed. Need some more time to refine the
> implementation.
>
> Cheers,
> Andrea
>
>
> On Wed, Feb 5, 2014 at 4:39 PM, Nirmal Fernando <ni...@wso2.com> wrote:
>>
>> Apparently, Andreas seems to have a more improved version which he has
>> built from a quite some time now.
>>
>>
>> On Wed, Feb 5, 2014 at 9:05 PM, Ioannis Canellos <io...@gmail.com>
>> wrote:
>>
>> > I can't wait to try it out.
>> >
>> >
>> > On Feb 4, 2014, at 6:12 PM, Ignasi Barrera <ig...@gmail.com>
>> > wrote:
>> >
>> > > Hi Nirmal,
>> > >
>> > > That looks promising!
>> > >
>> > > To add it to the jclouds-labs project just move the "docker" folder to
>> > > the jclouds-labs repo (in the root), and change the groupId to
>> > > "org.apache.jclouds.labs" and the parent to:
>> > >
>> > > <parent>
>> > >  <groupId>org.apache.jclouds.labs</groupId>
>> > >  <artifactId>jclouds-labs</artifactId>
>> > >  <version>1.8.0-SNAPSHOT</version>
>> > > </parent>
>> > >
>> > > Also, you should format the project according to the jclouds style
>> > > guide: 120 line length and 3 space indent.
>> > >
>> > >
>> > >
>> > > Great job!
>> > >
>> > >
>> > >
>> > >
>> > > On 4 February 2014 17:06, Nirmal Fernando <ni...@wso2.com> wrote:
>> > >> Hi Devs,
>> > >>
>> > >> Please find the initial version hosted in my Github repository:
>> > >>
>> > >> https://github.com/nirmal070125/jclouds-nirmal/tree/master/apis/docker
>> > >>
>> > >> Please can someone guide me on how to port this to jclouds-labs?
>> > >>
>> > >> Thanks.
>> > >>
>> > >>
>> > >> On Sat, Jan 18, 2014 at 12:09 AM, Andrew Bayer
>> > >> <andrew.bayer@gmail.com
>> > >wrote:
>> > >>
>> > >>> I would be insanely excited to see this and get it into labs!
>> > >>>
>> > >>> A.
>> > >>>
>> > >>>
>> > >>> On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
>> > >>> <ev...@rackspace.com>wrote:
>> > >>>
>> > >>>> +1
>> > >>>>
>> > >>>> On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
>> > >>>>
>> > >>>>> I'd love to see this in labs!
>> > >>>>> El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
>> > >>>>>
>> > >>>>>> Hi Andrew,
>> > >>>>>>
>> > >>>>>>
>> > >>>>>> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <
>> > >>> aphillips@qrmedia.com
>> > >>>>>>> wrote:
>> > >>>>>>
>> > >>>>>>> I've implemented the basic jClouds API for Docker (Lxc) [1] in
>> > >>>>>>> last
>> > >>> day
>> > >>>>>> or
>> > >>>>>>>> so. Now I could create, start, stop LXC containers using
>> > >>>>>>>> jClouds.
>> > >>> And
>> > >>>>>> [2]
>> > >>>>>>>> is a tiny demonstration on the test carried out.
>> > >>>>>>>>
>> > >>>>>>>
>> > >>>>>>> Do you have the code somewhere to look at?
>> > >>>>>>
>> > >>>>>>
>> > >>>>>> Will host it soon, in my repo and let you know.
>> > >>>>>>
>> > >>>>>>
>> > >>>>>>> Is this so far the "native" docker API, or have you implemented
>> > >>>>>>> ComputeService on top of docker?
>> > >>>>>>
>> > >>>>>>
>> > >>>>>> I've implemented the ComputeService on top of Docker APIs.
>> > >>>>>>
>> > >>>>>>> Curious!
>> > >>>>>>>
>> > >>>>>>> My guess would be that this initially would be a good
>> > >>>>>>> contribution
>> > to
>> > >>>>>>> jclouds-labs, and then on to jclouds core from there, depending
>> > >>>>>>> on
>> > >>> how
>> > >>>> it
>> > >>>>>>> evolves.
>> > >>>>>>
>> > >>>>>>
>> > >>>>>> Yes, my thought was also to move to jclouds-labs.
>> > >>>>>>
>> > >>>>>>
>> > >>>>>>> But obviously interested in seeing some more discussion around
>> > that.
>> > >>>>>>>
>> > >>>>>>> Thanks, Nirmal!
>> > >>>>>>>
>> > >>>>>>> ap
>> > >>>>>>>
>> > >>>>>>
>> > >>>>>>
>> > >>>>>>
>> > >>>>>> --
>> > >>>>>>
>> > >>>>>> Thanks & regards,
>> > >>>>>> Nirmal
>> > >>>>>>
>> > >>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> > >>>>>> Mobile: +94715779733
>> > >>>>>> Blog: http://nirmalfdo.blogspot.com/
>> > >>>>>>
>> > >>>>
>> > >>>>
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >>
>> > >> Thanks & regards,
>> > >> Nirmal
>> > >>
>> > >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> > >> Mobile: +94715779733
>> > >> Blog: http://nirmalfdo.blogspot.com/
>> >
>> >
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>
>

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Andrea Turli <an...@gmail.com>.
Thanks Nirmal,

yeah it is quite ready to be PRed. Need some more time to refine the
implementation.

Cheers,
Andrea


On Wed, Feb 5, 2014 at 4:39 PM, Nirmal Fernando <ni...@wso2.com> wrote:

> Apparently, Andreas seems to have a more improved version which he has
> built from a quite some time now.
>
>
> On Wed, Feb 5, 2014 at 9:05 PM, Ioannis Canellos <io...@gmail.com>
> wrote:
>
> > I can't wait to try it out.
> >
> >
> > On Feb 4, 2014, at 6:12 PM, Ignasi Barrera <ig...@gmail.com>
> > wrote:
> >
> > > Hi Nirmal,
> > >
> > > That looks promising!
> > >
> > > To add it to the jclouds-labs project just move the "docker" folder to
> > > the jclouds-labs repo (in the root), and change the groupId to
> > > "org.apache.jclouds.labs" and the parent to:
> > >
> > > <parent>
> > >  <groupId>org.apache.jclouds.labs</groupId>
> > >  <artifactId>jclouds-labs</artifactId>
> > >  <version>1.8.0-SNAPSHOT</version>
> > > </parent>
> > >
> > > Also, you should format the project according to the jclouds style
> > > guide: 120 line length and 3 space indent.
> > >
> > >
> > >
> > > Great job!
> > >
> > >
> > >
> > >
> > > On 4 February 2014 17:06, Nirmal Fernando <ni...@wso2.com> wrote:
> > >> Hi Devs,
> > >>
> > >> Please find the initial version hosted in my Github repository:
> > >>
> https://github.com/nirmal070125/jclouds-nirmal/tree/master/apis/docker
> > >>
> > >> Please can someone guide me on how to port this to jclouds-labs?
> > >>
> > >> Thanks.
> > >>
> > >>
> > >> On Sat, Jan 18, 2014 at 12:09 AM, Andrew Bayer <
> andrew.bayer@gmail.com
> > >wrote:
> > >>
> > >>> I would be insanely excited to see this and get it into labs!
> > >>>
> > >>> A.
> > >>>
> > >>>
> > >>> On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
> > >>> <ev...@rackspace.com>wrote:
> > >>>
> > >>>> +1
> > >>>>
> > >>>> On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
> > >>>>
> > >>>>> I'd love to see this in labs!
> > >>>>> El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
> > >>>>>
> > >>>>>> Hi Andrew,
> > >>>>>>
> > >>>>>>
> > >>>>>> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <
> > >>> aphillips@qrmedia.com
> > >>>>>>> wrote:
> > >>>>>>
> > >>>>>>> I've implemented the basic jClouds API for Docker (Lxc) [1] in
> last
> > >>> day
> > >>>>>> or
> > >>>>>>>> so. Now I could create, start, stop LXC containers using
> jClouds.
> > >>> And
> > >>>>>> [2]
> > >>>>>>>> is a tiny demonstration on the test carried out.
> > >>>>>>>>
> > >>>>>>>
> > >>>>>>> Do you have the code somewhere to look at?
> > >>>>>>
> > >>>>>>
> > >>>>>> Will host it soon, in my repo and let you know.
> > >>>>>>
> > >>>>>>
> > >>>>>>> Is this so far the "native" docker API, or have you implemented
> > >>>>>>> ComputeService on top of docker?
> > >>>>>>
> > >>>>>>
> > >>>>>> I've implemented the ComputeService on top of Docker APIs.
> > >>>>>>
> > >>>>>>> Curious!
> > >>>>>>>
> > >>>>>>> My guess would be that this initially would be a good
> contribution
> > to
> > >>>>>>> jclouds-labs, and then on to jclouds core from there, depending
> on
> > >>> how
> > >>>> it
> > >>>>>>> evolves.
> > >>>>>>
> > >>>>>>
> > >>>>>> Yes, my thought was also to move to jclouds-labs.
> > >>>>>>
> > >>>>>>
> > >>>>>>> But obviously interested in seeing some more discussion around
> > that.
> > >>>>>>>
> > >>>>>>> Thanks, Nirmal!
> > >>>>>>>
> > >>>>>>> ap
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> --
> > >>>>>>
> > >>>>>> Thanks & regards,
> > >>>>>> Nirmal
> > >>>>>>
> > >>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> > >>>>>> Mobile: +94715779733
> > >>>>>> Blog: http://nirmalfdo.blogspot.com/
> > >>>>>>
> > >>>>
> > >>>>
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >>
> > >> Thanks & regards,
> > >> Nirmal
> > >>
> > >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> > >> Mobile: +94715779733
> > >> Blog: http://nirmalfdo.blogspot.com/
> >
> >
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Nirmal Fernando <ni...@wso2.com>.
Apparently, Andreas seems to have a more improved version which he has
built from a quite some time now.


On Wed, Feb 5, 2014 at 9:05 PM, Ioannis Canellos <io...@gmail.com> wrote:

> I can't wait to try it out.
>
>
> On Feb 4, 2014, at 6:12 PM, Ignasi Barrera <ig...@gmail.com>
> wrote:
>
> > Hi Nirmal,
> >
> > That looks promising!
> >
> > To add it to the jclouds-labs project just move the "docker" folder to
> > the jclouds-labs repo (in the root), and change the groupId to
> > "org.apache.jclouds.labs" and the parent to:
> >
> > <parent>
> >  <groupId>org.apache.jclouds.labs</groupId>
> >  <artifactId>jclouds-labs</artifactId>
> >  <version>1.8.0-SNAPSHOT</version>
> > </parent>
> >
> > Also, you should format the project according to the jclouds style
> > guide: 120 line length and 3 space indent.
> >
> >
> >
> > Great job!
> >
> >
> >
> >
> > On 4 February 2014 17:06, Nirmal Fernando <ni...@wso2.com> wrote:
> >> Hi Devs,
> >>
> >> Please find the initial version hosted in my Github repository:
> >> https://github.com/nirmal070125/jclouds-nirmal/tree/master/apis/docker
> >>
> >> Please can someone guide me on how to port this to jclouds-labs?
> >>
> >> Thanks.
> >>
> >>
> >> On Sat, Jan 18, 2014 at 12:09 AM, Andrew Bayer <andrew.bayer@gmail.com
> >wrote:
> >>
> >>> I would be insanely excited to see this and get it into labs!
> >>>
> >>> A.
> >>>
> >>>
> >>> On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
> >>> <ev...@rackspace.com>wrote:
> >>>
> >>>> +1
> >>>>
> >>>> On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
> >>>>
> >>>>> I'd love to see this in labs!
> >>>>> El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
> >>>>>
> >>>>>> Hi Andrew,
> >>>>>>
> >>>>>>
> >>>>>> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <
> >>> aphillips@qrmedia.com
> >>>>>>> wrote:
> >>>>>>
> >>>>>>> I've implemented the basic jClouds API for Docker (Lxc) [1] in last
> >>> day
> >>>>>> or
> >>>>>>>> so. Now I could create, start, stop LXC containers using jClouds.
> >>> And
> >>>>>> [2]
> >>>>>>>> is a tiny demonstration on the test carried out.
> >>>>>>>>
> >>>>>>>
> >>>>>>> Do you have the code somewhere to look at?
> >>>>>>
> >>>>>>
> >>>>>> Will host it soon, in my repo and let you know.
> >>>>>>
> >>>>>>
> >>>>>>> Is this so far the "native" docker API, or have you implemented
> >>>>>>> ComputeService on top of docker?
> >>>>>>
> >>>>>>
> >>>>>> I've implemented the ComputeService on top of Docker APIs.
> >>>>>>
> >>>>>>> Curious!
> >>>>>>>
> >>>>>>> My guess would be that this initially would be a good contribution
> to
> >>>>>>> jclouds-labs, and then on to jclouds core from there, depending on
> >>> how
> >>>> it
> >>>>>>> evolves.
> >>>>>>
> >>>>>>
> >>>>>> Yes, my thought was also to move to jclouds-labs.
> >>>>>>
> >>>>>>
> >>>>>>> But obviously interested in seeing some more discussion around
> that.
> >>>>>>>
> >>>>>>> Thanks, Nirmal!
> >>>>>>>
> >>>>>>> ap
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>>
> >>>>>> Thanks & regards,
> >>>>>> Nirmal
> >>>>>>
> >>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> >>>>>> Mobile: +94715779733
> >>>>>> Blog: http://nirmalfdo.blogspot.com/
> >>>>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Thanks & regards,
> >> Nirmal
> >>
> >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> >> Mobile: +94715779733
> >> Blog: http://nirmalfdo.blogspot.com/
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Ioannis Canellos <io...@gmail.com>.
I can’t wait to try it out.


On Feb 4, 2014, at 6:12 PM, Ignasi Barrera <ig...@gmail.com> wrote:

> Hi Nirmal,
> 
> That looks promising!
> 
> To add it to the jclouds-labs project just move the "docker" folder to
> the jclouds-labs repo (in the root), and change the groupId to
> "org.apache.jclouds.labs" and the parent to:
> 
> <parent>
>  <groupId>org.apache.jclouds.labs</groupId>
>  <artifactId>jclouds-labs</artifactId>
>  <version>1.8.0-SNAPSHOT</version>
> </parent>
> 
> Also, you should format the project according to the jclouds style
> guide: 120 line length and 3 space indent.
> 
> 
> 
> Great job!
> 
> 
> 
> 
> On 4 February 2014 17:06, Nirmal Fernando <ni...@wso2.com> wrote:
>> Hi Devs,
>> 
>> Please find the initial version hosted in my Github repository:
>> https://github.com/nirmal070125/jclouds-nirmal/tree/master/apis/docker
>> 
>> Please can someone guide me on how to port this to jclouds-labs?
>> 
>> Thanks.
>> 
>> 
>> On Sat, Jan 18, 2014 at 12:09 AM, Andrew Bayer <an...@gmail.com>wrote:
>> 
>>> I would be insanely excited to see this and get it into labs!
>>> 
>>> A.
>>> 
>>> 
>>> On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
>>> <ev...@rackspace.com>wrote:
>>> 
>>>> +1
>>>> 
>>>> On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
>>>> 
>>>>> I'd love to see this in labs!
>>>>> El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
>>>>> 
>>>>>> Hi Andrew,
>>>>>> 
>>>>>> 
>>>>>> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <
>>> aphillips@qrmedia.com
>>>>>>> wrote:
>>>>>> 
>>>>>>> I've implemented the basic jClouds API for Docker (Lxc) [1] in last
>>> day
>>>>>> or
>>>>>>>> so. Now I could create, start, stop LXC containers using jClouds.
>>> And
>>>>>> [2]
>>>>>>>> is a tiny demonstration on the test carried out.
>>>>>>>> 
>>>>>>> 
>>>>>>> Do you have the code somewhere to look at?
>>>>>> 
>>>>>> 
>>>>>> Will host it soon, in my repo and let you know.
>>>>>> 
>>>>>> 
>>>>>>> Is this so far the "native" docker API, or have you implemented
>>>>>>> ComputeService on top of docker?
>>>>>> 
>>>>>> 
>>>>>> I've implemented the ComputeService on top of Docker APIs.
>>>>>> 
>>>>>>> Curious!
>>>>>>> 
>>>>>>> My guess would be that this initially would be a good contribution to
>>>>>>> jclouds-labs, and then on to jclouds core from there, depending on
>>> how
>>>> it
>>>>>>> evolves.
>>>>>> 
>>>>>> 
>>>>>> Yes, my thought was also to move to jclouds-labs.
>>>>>> 
>>>>>> 
>>>>>>> But obviously interested in seeing some more discussion around that.
>>>>>>> 
>>>>>>> Thanks, Nirmal!
>>>>>>> 
>>>>>>> ap
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> 
>>>>>> Thanks & regards,
>>>>>> Nirmal
>>>>>> 
>>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>>>> Mobile: +94715779733
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
>> 
>> --
>> 
>> Thanks & regards,
>> Nirmal
>> 
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/


Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Ignasi Barrera <ig...@gmail.com>.
Hi Nirmal,

That looks promising!

To add it to the jclouds-labs project just move the "docker" folder to
the jclouds-labs repo (in the root), and change the groupId to
"org.apache.jclouds.labs" and the parent to:

<parent>
  <groupId>org.apache.jclouds.labs</groupId>
  <artifactId>jclouds-labs</artifactId>
  <version>1.8.0-SNAPSHOT</version>
</parent>

Also, you should format the project according to the jclouds style
guide: 120 line length and 3 space indent.



Great job!




On 4 February 2014 17:06, Nirmal Fernando <ni...@wso2.com> wrote:
> Hi Devs,
>
> Please find the initial version hosted in my Github repository:
> https://github.com/nirmal070125/jclouds-nirmal/tree/master/apis/docker
>
> Please can someone guide me on how to port this to jclouds-labs?
>
> Thanks.
>
>
> On Sat, Jan 18, 2014 at 12:09 AM, Andrew Bayer <an...@gmail.com>wrote:
>
>> I would be insanely excited to see this and get it into labs!
>>
>> A.
>>
>>
>> On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
>> <ev...@rackspace.com>wrote:
>>
>> > +1
>> >
>> > On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
>> >
>> > > I'd love to see this in labs!
>> > > El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
>> > >
>> > >> Hi Andrew,
>> > >>
>> > >>
>> > >> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <
>> aphillips@qrmedia.com
>> > >>> wrote:
>> > >>
>> > >>> I've implemented the basic jClouds API for Docker (Lxc) [1] in last
>> day
>> > >> or
>> > >>>> so. Now I could create, start, stop LXC containers using jClouds.
>> And
>> > >> [2]
>> > >>>> is a tiny demonstration on the test carried out.
>> > >>>>
>> > >>>
>> > >>> Do you have the code somewhere to look at?
>> > >>
>> > >>
>> > >> Will host it soon, in my repo and let you know.
>> > >>
>> > >>
>> > >>> Is this so far the "native" docker API, or have you implemented
>> > >>> ComputeService on top of docker?
>> > >>
>> > >>
>> > >> I've implemented the ComputeService on top of Docker APIs.
>> > >>
>> > >>> Curious!
>> > >>>
>> > >>> My guess would be that this initially would be a good contribution to
>> > >>> jclouds-labs, and then on to jclouds core from there, depending on
>> how
>> > it
>> > >>> evolves.
>> > >>
>> > >>
>> > >> Yes, my thought was also to move to jclouds-labs.
>> > >>
>> > >>
>> > >>> But obviously interested in seeing some more discussion around that.
>> > >>>
>> > >>> Thanks, Nirmal!
>> > >>>
>> > >>> ap
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >>
>> > >> Thanks & regards,
>> > >> Nirmal
>> > >>
>> > >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> > >> Mobile: +94715779733
>> > >> Blog: http://nirmalfdo.blogspot.com/
>> > >>
>> >
>> >
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Nirmal Fernando <ni...@wso2.com>.
Hi Devs,

Please find the initial version hosted in my Github repository:
https://github.com/nirmal070125/jclouds-nirmal/tree/master/apis/docker

Please can someone guide me on how to port this to jclouds-labs?

Thanks.


On Sat, Jan 18, 2014 at 12:09 AM, Andrew Bayer <an...@gmail.com>wrote:

> I would be insanely excited to see this and get it into labs!
>
> A.
>
>
> On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
> <ev...@rackspace.com>wrote:
>
> > +1
> >
> > On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
> >
> > > I'd love to see this in labs!
> > > El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
> > >
> > >> Hi Andrew,
> > >>
> > >>
> > >> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <
> aphillips@qrmedia.com
> > >>> wrote:
> > >>
> > >>> I've implemented the basic jClouds API for Docker (Lxc) [1] in last
> day
> > >> or
> > >>>> so. Now I could create, start, stop LXC containers using jClouds.
> And
> > >> [2]
> > >>>> is a tiny demonstration on the test carried out.
> > >>>>
> > >>>
> > >>> Do you have the code somewhere to look at?
> > >>
> > >>
> > >> Will host it soon, in my repo and let you know.
> > >>
> > >>
> > >>> Is this so far the "native" docker API, or have you implemented
> > >>> ComputeService on top of docker?
> > >>
> > >>
> > >> I've implemented the ComputeService on top of Docker APIs.
> > >>
> > >>> Curious!
> > >>>
> > >>> My guess would be that this initially would be a good contribution to
> > >>> jclouds-labs, and then on to jclouds core from there, depending on
> how
> > it
> > >>> evolves.
> > >>
> > >>
> > >> Yes, my thought was also to move to jclouds-labs.
> > >>
> > >>
> > >>> But obviously interested in seeing some more discussion around that.
> > >>>
> > >>> Thanks, Nirmal!
> > >>>
> > >>> ap
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >>
> > >> Thanks & regards,
> > >> Nirmal
> > >>
> > >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> > >> Mobile: +94715779733
> > >> Blog: http://nirmalfdo.blogspot.com/
> > >>
> >
> >
>



-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Andrew Bayer <an...@gmail.com>.
I would be insanely excited to see this and get it into labs!

A.


On Fri, Jan 17, 2014 at 5:30 AM, Everett Toews
<ev...@rackspace.com>wrote:

> +1
>
> On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:
>
> > I'd love to see this in labs!
> > El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
> >
> >> Hi Andrew,
> >>
> >>
> >> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <aphillips@qrmedia.com
> >>> wrote:
> >>
> >>> I've implemented the basic jClouds API for Docker (Lxc) [1] in last day
> >> or
> >>>> so. Now I could create, start, stop LXC containers using jClouds. And
> >> [2]
> >>>> is a tiny demonstration on the test carried out.
> >>>>
> >>>
> >>> Do you have the code somewhere to look at?
> >>
> >>
> >> Will host it soon, in my repo and let you know.
> >>
> >>
> >>> Is this so far the "native" docker API, or have you implemented
> >>> ComputeService on top of docker?
> >>
> >>
> >> I've implemented the ComputeService on top of Docker APIs.
> >>
> >>> Curious!
> >>>
> >>> My guess would be that this initially would be a good contribution to
> >>> jclouds-labs, and then on to jclouds core from there, depending on how
> it
> >>> evolves.
> >>
> >>
> >> Yes, my thought was also to move to jclouds-labs.
> >>
> >>
> >>> But obviously interested in seeing some more discussion around that.
> >>>
> >>> Thanks, Nirmal!
> >>>
> >>> ap
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Thanks & regards,
> >> Nirmal
> >>
> >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> >> Mobile: +94715779733
> >> Blog: http://nirmalfdo.blogspot.com/
> >>
>
>

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Everett Toews <ev...@RACKSPACE.COM>.
+1

On Jan 17, 2014, at 12:52 AM, Ignasi Barrera wrote:

> I'd love to see this in labs!
> El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:
> 
>> Hi Andrew,
>> 
>> 
>> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <aphillips@qrmedia.com
>>> wrote:
>> 
>>> I've implemented the basic jClouds API for Docker (Lxc) [1] in last day
>> or
>>>> so. Now I could create, start, stop LXC containers using jClouds. And
>> [2]
>>>> is a tiny demonstration on the test carried out.
>>>> 
>>> 
>>> Do you have the code somewhere to look at?
>> 
>> 
>> Will host it soon, in my repo and let you know.
>> 
>> 
>>> Is this so far the "native" docker API, or have you implemented
>>> ComputeService on top of docker?
>> 
>> 
>> I've implemented the ComputeService on top of Docker APIs.
>> 
>>> Curious!
>>> 
>>> My guess would be that this initially would be a good contribution to
>>> jclouds-labs, and then on to jclouds core from there, depending on how it
>>> evolves.
>> 
>> 
>> Yes, my thought was also to move to jclouds-labs.
>> 
>> 
>>> But obviously interested in seeing some more discussion around that.
>>> 
>>> Thanks, Nirmal!
>>> 
>>> ap
>>> 
>> 
>> 
>> 
>> --
>> 
>> Thanks & regards,
>> Nirmal
>> 
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>> 


Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Ignasi Barrera <ig...@gmail.com>.
I'd love to see this in labs!
El 17/01/2014 05:00, "Nirmal Fernando" <ni...@wso2.com> escribió:

> Hi Andrew,
>
>
> On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <aphillips@qrmedia.com
> >wrote:
>
> > I've implemented the basic jClouds API for Docker (Lxc) [1] in last day
> or
> >> so. Now I could create, start, stop LXC containers using jClouds. And
> [2]
> >> is a tiny demonstration on the test carried out.
> >>
> >
> > Do you have the code somewhere to look at?
>
>
> Will host it soon, in my repo and let you know.
>
>
> > Is this so far the "native" docker API, or have you implemented
> > ComputeService on top of docker?
>
>
> I've implemented the ComputeService on top of Docker APIs.
>
> > Curious!
> >
> > My guess would be that this initially would be a good contribution to
> > jclouds-labs, and then on to jclouds core from there, depending on how it
> > evolves.
>
>
> Yes, my thought was also to move to jclouds-labs.
>
>
> > But obviously interested in seeing some more discussion around that.
> >
> > Thanks, Nirmal!
> >
> > ap
> >
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Nirmal Fernando <ni...@wso2.com>.
Hi Andrew,


On Fri, Jan 17, 2014 at 9:27 AM, Andrew Phillips <ap...@qrmedia.com>wrote:

> I've implemented the basic jClouds API for Docker (Lxc) [1] in last day or
>> so. Now I could create, start, stop LXC containers using jClouds. And [2]
>> is a tiny demonstration on the test carried out.
>>
>
> Do you have the code somewhere to look at?


Will host it soon, in my repo and let you know.


> Is this so far the "native" docker API, or have you implemented
> ComputeService on top of docker?


I've implemented the ComputeService on top of Docker APIs.

> Curious!
>
> My guess would be that this initially would be a good contribution to
> jclouds-labs, and then on to jclouds core from there, depending on how it
> evolves.


Yes, my thought was also to move to jclouds-labs.


> But obviously interested in seeing some more discussion around that.
>
> Thanks, Nirmal!
>
> ap
>



-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/

Re: Support to spawn/stop LXC instances via jClouds :-)

Posted by Andrew Phillips <ap...@qrmedia.com>.
> I've implemented the basic jClouds API for Docker (Lxc) [1] in last day or
> so. Now I could create, start, stop LXC containers using jClouds. And [2]
> is a tiny demonstration on the test carried out.

Do you have the code somewhere to look at? Is this so far the "native"  
docker API, or have you implemented ComputeService on top of docker?  
Curious!

My guess would be that this initially would be a good contribution to  
jclouds-labs, and then on to jclouds core from there, depending on how  
it evolves. But obviously interested in seeing some more discussion  
around that.

Thanks, Nirmal!

ap