From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6GZzM01n3GV6vAAAe85BDQ:P1 (envelope-from ) for ; Mon, 26 Feb 2024 11:26:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6GZzM01n3GV6vAAAe85BDQ (envelope-from ) for ; Mon, 26 Feb 2024 11:26:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Yo8bHtDf; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708943181; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uANGJmCUemadftNSjmt9ZAxBH60QaG1RhnpMPqLWgd0=; b=l0x9kiQlRcSfhjRHBQ9wsN8GsFlfGQEUk5Aw0GwDVWKYPmjvgPDjq9AeykzeEuUQBzoeIm /M2C9sr8nUYgxHEQzISPEJuCDi9iVMTR0/XlNvve0VFe+qUasVxqfrfp1u78sV+kDTDhMQ 1WrxTNmUMez7GMzIvPvXQmvlx355PgAzcu8COeB5Idnu1+Kew1uYkpjBlYbQxjB2oE9Wp3 DfTnkYsUhiO9wGZSc6jqIeMW7Km16A5VeA3k+joYBe1hAvxHBvbzR0qBXH/gtbvCmPi4tN iLhaINq25FKJcx1+RzvonWPMekuRinqhL8ODfRQtOfTaUqRFGAxtkiayOryxjA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Yo8bHtDf; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1708943181; a=rsa-sha256; cv=pass; b=PsZTpYUkXHKPfuZPhbgQmStvK07vN1QdT8pCq4l9+a8jj98TU/YuFFtfU3YOjs5VlaBGgO /sk/qwGVKOQm9q/mRWROzZMA27wM5z8dZGvef/VcQguolMSL38176wb2EH4M7JWCUq/8vy e+1/XORAMHH+l7kPxySVH4/yTTOo+W3Y3EH13In1NkPwISTfYDMofPVpB9nJThMaqUxpFP OD3PrfS2aSoOSiQPzkB3kKHNPaKg18/Mi1dzoSTRMhidk9t9X5in7JSqN7VxGvChnR2PVY OOtS949bzLPWRNmcA0tuaKZ2Hdh6MJlZ4DE41mSSO3zKgsFkgMnFkHHMY+UVDA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9816917E13 for ; Mon, 26 Feb 2024 11:26:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reYBC-0003bI-RP; Mon, 26 Feb 2024 05:25:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reYB5-0003aW-F4 for guix-devel@gnu.org; Mon, 26 Feb 2024 05:25:45 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reYB2-0007yc-SR for guix-devel@gnu.org; Mon, 26 Feb 2024 05:25:43 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1708943134; cv=none; d=zohomail.com; s=zohoarc; b=Wgr9WcV8QYb1nEChP0MfmjGkQ8qsGK5mZR+BYIcMxlnMck7XpLwef8wuDRgFbRG8GNUcex8sSRRm8haQPDrij796RA7mguq/h1dJ9x+GAjbPuxgUfApl9831kLInLen5FIQ8tUNgOqleiaZBZPp/T4qL4OzD6xTdhcK2kl4ccS8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1708943134; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=uANGJmCUemadftNSjmt9ZAxBH60QaG1RhnpMPqLWgd0=; b=cTjltBksJra9fLX3R0UQ6rd/a1EG21wq5Ie8WjWxjuPhYi7iP48JPVVmX/soKk8gHlZLJ5L75QQo9SZ3Ln0Cc1FRCc25QwuAgpl+oAuNkGi1OgaRJEbEuRczmvpipxFT410tfnfx46qC4vrk/vItMrqbuGflj9Fuj4uu7shzlBE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1708943134; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=uANGJmCUemadftNSjmt9ZAxBH60QaG1RhnpMPqLWgd0=; b=Yo8bHtDfEzR3RfIkxEboBIxxeJJ9mOqEt2WjfpEqN744+viVCvYn7GxzkOKvIo5h 4pqebqKvBsjvSDOk3qRV+EDsJmZ1AkYpe9YC+Z89a24eGo7BW+0BabTN29grXeyImdQ 8fqCZxU58NTJKTwVOUyGfj41Ls4nXxYtyDInFDBw= Received: from localhost (107-108-142-46.pool.kielnet.net [46.142.108.107]) by mx.zohomail.com with SMTPS id 1708943132588795.4406566877324; Mon, 26 Feb 2024 02:25:32 -0800 (PST) References: <8734tijjpy.fsf@tilia> <87wmqszwif.fsf@elephly.net> <87plwjilke.fsf@tilia> User-agent: mu4e 1.10.8; emacs 29.1 From: Ricardo Wurmus To: Antoine Eiche Cc: guix-devel@gnu.org Subject: Re: Building container images with nix2container Date: Mon, 26 Feb 2024 11:24:47 +0100 In-reply-to: <87plwjilke.fsf@tilia> Message-ID: <87o7c3zfmu.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: 9816917E13 X-TUID: OuTuLAMlAwIv Antoine Eiche writes: > Ricardo Wurmus writes: > >> We have "guix pack" as part of Guix. It builds Docker or squashfs >> images as well as various other formats. What does nix2container offer >> beyond what we have? > > I acutally don't know how you currently build Docker images. But if > nix2container brings something, i think it would mainly be > optimizations (time and space). > > Does your built images contains several layers? Yes. See https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-pack.html -- Ricardo