From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Declarative containers Date: Wed, 27 Mar 2019 12:18:02 +0100 Message-ID: <87sgv8efbp.fsf@gnu.org> References: <87sgvbz40f.fsf@roquette.mug.biscuolo.net> <87zhphft98.fsf_-_@gnu.org> <87zhphwbju.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h96ZJ-0006cy-Ho for guix-devel@gnu.org; Wed, 27 Mar 2019 07:18:06 -0400 In-Reply-To: <87zhphwbju.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Tue, 26 Mar 2019 22:49:57 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Giovanni Biscuolo Cc: guix-devel@gnu.org, Joshua Marshall Hi, Giovanni Biscuolo skribis: > Ludovic Court=C3=A8s writes: [...] >> We could have a =E2=80=98container=E2=80=99 (or =E2=80=98sub-system=E2= =80=99?) 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 =E2=80=9Csub-Hurd=E2=80=9D, which is sim= ilar to what we=E2=80=99re talking about. >> you=E2=80=99d pass it an and it=E2=80=99d create a Sh= epherd service >> that runs that OS in a container. > > what is the method used to instantiate containers with Guix? =E2=80=98guix system container=E2=80=99 creates an executable that starts t= he 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=E2=80=99.