[lxc-devel] Lxcfile :: For creating containers easily

Ranjib Dey dey.ranjib at gmail.com
Thu Jan 23 01:11:35 UTC 2014


hello ,
i would like to propose a simpler way to create containers(inspired by
dockerfiles), from existing templates. Currently the only way to create a
containers from scratch is via templates. Though its very powerful, its a
significant adoption barrier to folks who are not familiar with all the low
level tools (debootstrap, mounting logic etc). docker[1] provides a
simplistic dsl for building containers, this pattern is popular among other
tools like vagrant, bundler etc. I feel this wont be very difficult to
implement and will significantly lower the entry barrier for building
custom containers, and thus enabling users to share their container setup
more easily.

I am using lxc with ruby (chef actually) and currently i am using a very
simple ruby script[2] to do dockerfile to raw lxc creation, i can write a C
equivalent if you thinks its worth considering having an equivalent of
Lxcfile to create containers.

regards
ranjib


p.s. thanks a lot for all your works on lxc


[1]http://docs.docker.io/en/latest/use/builder/
[2]https://gist.github.com/ranjib/8482470
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140122/69dfdc1a/attachment.html>


More information about the lxc-devel mailing list