Re: Containers on Guix

2014-11-22 Thread Ludovic Courtès
Ian Denhardt skribis: > I'm sure there are other things already packaged that don't really have > any hope of working on top of another kernel. I think packages that are Linux-specific by design are all in (gnu packages linux). > This is going to be hard to do portably, but I don't think it's w

Re: Containers on Guix

2014-11-22 Thread Ian Denhardt
Quoting David Thompson (2014-11-19 21:34:49) > I did some reading about how Docker creates containers and discovered > that it uses systemd-nspawn[0] to do it. Since Guix uses dmd, using > systemd-nspawn isn't an option. Does anyone have thoughts on how we > might have similar functionality in th

Re: Containers on Guix

2014-11-21 Thread Ludovic Courtès
David Thompson skribis: > Ludovic Courtès writes: > >>> A container is programs or full os running in an isolated environment. >>> For a full container with rootfs, we can: >>> build the rootfs: >>> of Guix:by using a form of `guix system init' >> >> I think it’s enough and cheaper to

Re: Containers on Guix

2014-11-20 Thread David Thompson
Ludovic Courtès writes: >> A container is programs or full os running in an isolated environment. >> For a full container with rootfs, we can: >> build the rootfs: >> of Guix:by using a form of `guix system init' > > I think it’s enough and cheaper to build the system (as per ‘guix syst

Re: Containers on Guix

2014-11-20 Thread Thompson, David
On Thu, Nov 20, 2014 at 3:49 PM, Ludovic Courtès wrote: > 宋文武 skribis: > >> I think what we need is pflask: https://github.com/ghedo/pflask > > Indeed, that seems like a good fit! The concern I have is something the author brings up in the README: "Compared to LXC, pflask is easier to use since

Re: Containers on Guix

2014-11-20 Thread Ludovic Courtès
宋文武 skribis: > I think what we need is pflask: https://github.com/ghedo/pflask Indeed, that seems like a good fit! > A container is programs or full os running in an isolated environment. > For a full container with rootfs, we can: > build the rootfs: > of Guix:by using a form of `gui

Re: Containers on Guix

2014-11-20 Thread Ludovic Courtès
Hello! Disclaimer: I’ve never used systemd-nspawn, and I’m not knowledgeable in this area. :-) AIUI, “containers” are basically what the daemon creates: an execution environment that uses a separate file system name space, network name space, etc. (see ‘DerivationGoal::startBuilder’ in libstore

Re: Containers on Guix

2014-11-20 Thread Thompson, David
On Thu, Nov 20, 2014 at 8:30 AM, 宋文武 wrote: > David Thompson writes: > >> I did some reading about how Docker creates containers and discovered >> that it uses systemd-nspawn[0] to do it. Since Guix uses dmd, using >> systemd-nspawn isn't an option. Does anyone have thoughts on how we >> might

Re: Containers on Guix

2014-11-20 Thread 宋文武
David Thompson writes: > Hello all, > > As some of you know, I wrote 'guix environment' as the first step on my > journey to use Guix to improve my (and hopefully others) software > development workflow. Now that the basics are working, I'm interested > in taking things further. In particular,

Re: Containers on Guix

2014-11-19 Thread David Thompson
The missing footnote: [0] http://www.freedesktop.org/software/systemd/man/systemd-nspawn.html -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate