From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60572) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn1rg-0004Wr-Fk for guix-patches@gnu.org; Mon, 15 Jul 2019 10:22:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn1rf-0001DK-JB for guix-patches@gnu.org; Mon, 15 Jul 2019 10:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hn1rf-0001DA-GG for guix-patches@gnu.org; Mon, 15 Jul 2019 10:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hn1rf-0000O0-Bc for guix-patches@gnu.org; Mon, 15 Jul 2019 10:22:03 -0400 Subject: [bug#36668] [PATCH 0/1] Add 'eval/container' Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60485) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn1rE-0004SC-38 for guix-patches@gnu.org; Mon, 15 Jul 2019 10:21:36 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 15 Jul 2019 16:21:26 +0200 Message-Id: <20190715142126.14612-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36668@debbugs.gnu.org Hello Guix! This adds ‘eval/container’, which can be used to implement things that are almost derivation (pure computational processes), but not quite: processes that produce side effects, that need to access the daemon, or that need to talk over the network. It doesn’t have any users currently. Guix-Jupyter-Kernel will probably use it (to spawn proxied kernels in isolated environments), and I think Ricardo had a use case for it in GWL too. What do people think? I wonder if we should target ‘run-in-container’ instead of ‘call-with-container’, or maybe both. It’s also a bit troubling that ‘eval/container’ returns an exit status instead of the evaluation result, but I think it has to be this way, more or less. Ludo’. Ludovic Courtès (1): linux-container: Add 'eval/container'. gnu/system/linux-container.scm | 49 ++++++++++++++++++++++++++++++++- tests/containers.scm | 50 ++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 1 deletion(-) -- 2.22.0