[lxc-devel] [ANN] Go (golang) Bindings for LXC C API

Serge Hallyn serge.hallyn at ubuntu.com
Fri Mar 29 12:27:44 UTC 2013


Quoting S.Çağlar Onur (caglar at 10ur.org):
> Hi,
> 
> A couple of days ago I started to write the Go binding for LXC C API. IMHO
> it reached to a point where I can announce it officially. So here it is;
> 
> Go (golang) Bindings for LXC (Linux Containers) [1]
> 
> You can install it via regular "go get" magic
> 
> go get github.com/caglar10ur/lxc

Awesome, thanks!

> and checkout the documentation [1] and bunch of basic examples [2].
> 
> 
> Please note that it's an early alpha, where the code hasn't been refactored
> and not much tested in the wild.
> 
> It's using new functionalities introduced by upcoming LXC 0.9 so it won't
> work with older releases. It's been developed on Ubuntu 12.10 against LXC
> staging tree [4].
> 
> Currently it provides all the exported API but it doesn't have additional
> features like Python LXC API (.network property, get_ips, clone, attach
> functions etc.).

That's ok, those things should go into the api itself :)  (and make it
much more standard and unrestricted in the process)

I'm going to put clone into the api in the next few days, and attach
probably soon after.

-serge




More information about the lxc-devel mailing list