[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declarative containers
From: |
Ludovic Courtès |
Subject: |
Re: Declarative containers |
Date: |
Wed, 27 Mar 2019 12:18:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Giovanni Biscuolo <address@hidden> skribis:
> Ludovic Courtès <address@hidden> writes:
[...]
>> We could have a ‘container’ (or ‘sub-system’?) service;
>
> mumble: `container` is so abused that it's starting to become a buzzword
> to my ears, `sub-system` is probably more semantic
The Hurd has had this thing called “sub-Hurd”, which is similar to what
we’re talking about.
>> you’d pass it an <operating-system> and it’d create a Shepherd service
>> that runs that OS in a container.
>
> what is the method used to instantiate containers with Guix?
‘guix system container’ creates an executable that starts the container.
That executable is a Guile program that uses (gnu build
linux-container), a module that provides facilities to create processes
under separate name spaces, etc.
IOW all the functionality is provided by Guix; no systemd-nspawn,
bubblewrap, lxc, etc.
Ludo’.