[lxc-devel] [lxc-users] Lxcfile :: For creating containers easily
Ranjib Dey
dey.ranjib at gmail.com
Thu Jan 23 03:45:27 UTC 2014
hey
thanks for sharing this. I am aware of lxc-download and other patches (that
will allow non-root users to create containers, thanks to c. onur), but the
point of Lxcfile was very different. lxc-download as far as i can tell wont
expose any new primitives. Lxcfile is about exposing simpler dsl for
building containers, and using existing templates, i.e. exposing primitives
like `from` .`run` etc. Given lxc-python bindings are already in main lxc
(also lxc-ruby having full blown liblxc support now), this will be really
easy yet helpful,
comments?
On Wed, Jan 22, 2014 at 6:38 PM, Alvaro Miranda Aguilera
<kikitux at gmail.com>wrote:
> Hello,
>
> If you can review the devel mailing list, you will find something like
> this is working in progress.
>
> they are building daily images of some templates (oracle, ubuntu, etc),
> and working in add a new lxc-download to have an option to lxc-create.
>
> https://github.com/lxc/lxc/blob/master/templates/lxc-download.in
>
> Have a look at the mailing list, and check if that's what you are after.
>
> Other advantage is the work will allow non-root users to download and
> start containers.
>
> Alvaro.
>
>
> On Thu, Jan 23, 2014 at 2:11 PM, Ranjib Dey <dey.ranjib at gmail.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140122/71e49006/attachment.html>
More information about the lxc-devel
mailing list