[Lxc-users] LXC support on Vagrant

Serge Hallyn serge.hallyn at ubuntu.com
Wed Mar 20 13:08:40 UTC 2013


Quoting Dan Kegel (dank at kegel.com):
> On Wed, Mar 13, 2013 at 1:38 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> >>  https://www.stgraber.org/2012/09/28/introducing-the-python-lxc-api/
> > Well the API is our preferred way for external apps to interface with lxc.
> ...
> >> - libvirt
> ...
> >> I suppose it would be foolish to assume that a common api would
> >> always be better than having each high-level virtualization package
> >> roll its own lxc support, but... still... is it worth providing a ruby binding
> >> for the lxc api, and having vagrant use that?  Or would that simply be extra
> >> overhead?
> >
> > I think that would definately be worth it.  (Right now it's using
> > the lxc command line tools instead.)  But someone who writes ruby
> > would have to export it :)
> 
> Likewise, libvirt has rolled their own (presumably C) binding to lxc stuff.
> 
> It would be interesting to see how those lxc wrappers compare,
> and whether a consensus api that makes everybody happy
> would fall out of that comparison.  (Wish I had time to hack.)

You may have noticed in Stéphane 1.0 roadmap there is a libvirt
driver based on our api.  That was actually one of the many
motivating factors for the api.

-serge




More information about the lxc-users mailing list