guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update on GuixSD containers


From: Thompson, David
Subject: Re: Update on GuixSD containers
Date: Fri, 12 Jun 2015 21:41:34 -0400

On Fri, Jun 12, 2015 at 11:12 AM, Ludovic Courtès <address@hidden> wrote:
> "Thompson, David" <address@hidden> skribis:
>
>> Yeah, our daemon would do the same thing.  We could maybe even have a
>> little Guile library that allows one to evaluate arbitrary scheme code
>> from within the container. :)
>
> Actually, something quite easily feasible would be this:
>
>   (eval-in-container #~(system* #$evil-program
>                                 #$(local-file "important-data.txt"))
>                      #:networking? #f)
>
> ... where the container’s store would be populated with just
> EVIL-PROGRAM and the local file.
>
> Food for thought...

Ooooh yeah!  That would be cool.  Though I think we should still spawn
a dmd process as PID 1 to deal with reaping zombie processes.  We
could generate a single service that runs the gexp script.  How does
that sound?

Thanks for this good idea!

- Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]