From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YEaLHrITZWVOdAAAG6o9tA:P1 (envelope-from ) for ; Mon, 27 Nov 2023 23:09:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YEaLHrITZWVOdAAAG6o9tA (envelope-from ) for ; Mon, 27 Nov 2023 23:09:54 +0100 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 E85EF40189 for ; Mon, 27 Nov 2023 23:09:53 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=YIj5b1La; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701122994; a=rsa-sha256; cv=none; b=Vn0Rzz2klldSHDs8OYt1Zc6r9aWpDN0et5821i4h/N/APknlYd8pmAtoP70hNDzmB/Va2v Q8SAnjYZsLvVBNUhMsUqipOdarpWFKhqS7GqpqSHSUShEf1Vmu6xXUMVa001iroMd79fOa mZNPKGG+50xrbcTIVIXiypRg3LiFth6lUsYMaU14YVu5quiviZnb+G18YEWkvTuLt46FHk 0sX7E7Z9dg1+O7vOgzhZaG40o/CHldWf4tU/yChpltb+eOM9t7UBWvcvyphIfcNtQaIGHz cOGQx4s7NOhfKpI/wduqmnmvmoozSjyytGIzGVTHPH6WeNE7VENx6ZYInvvbew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=YIj5b1La; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701122994; h=from:from:sender:sender:reply-to: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=dyG6ooGRm77rk5WC2Dsz2o5+6sTnkY2Cy6GHE20uRa0=; b=j+tlmPDVhLal+0doEBwYrlFsRbwkOCnnFXGAUnlIr3xyB2gepdgYFTQB5ntCdKG+byt3MC oo2mdPzMLueN5IzgoWcB1vcHD0pl1Iw2Y/Ew841VE2E+uMzb7Uptw03xzYzufVLBLePj86 d9Wsp8srk6KH5zkSGtGIMkTlXm9i1gcSzQM889CS4AP51I2cJbf1ny092hayXKcdFlMcNS HiL4d4a/nK8WctIk/bLFp1dxRw1Iet5fP4iJZ6TORjXwqGqXnXhSb5NpoZIxrmxDU4UXmX dHN9DwvwXDz59AWMRrGQTdkP1rGuyVA15i+nwPF38PKVfVioSPXhAS0BZLKaoQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7jnH-000882-9z; Mon, 27 Nov 2023 17:09:31 -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 1r7jnF-00087b-B3 for help-guix@gnu.org; Mon, 27 Nov 2023 17:09:29 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7jnD-0004y3-8q for help-guix@gnu.org; Mon, 27 Nov 2023 17:09:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dyG6ooGRm77rk5WC2Dsz2o5+6sTnkY2Cy6GHE20uRa0=; b=YIj5b1LaaOfpUPVrYtVr8koJ/L IwD3LDBYAt3fmwUeQRRu7nSYn3xOynAd0fcIj8zxS4wj4wL/DQ50gDWLBB+06eLBu7lC0i4dUjV/4 dh2hmIV5LuPB1OTQz2m23cPzVohZRKEHf/r/x3qgmG0SdwP7bKkq8M4CkJngPyYZKbub37zwQEeT3 R6g6VUsQwvHhj2fbYcCPs7u8M4DBYMeG3y7SZPcBHO2CKh75GyJBRHNNCeo1XEzH9B9+EjJ0BWZa/ 9Rrs4a6jGOwaDOv+or2ecfEqZ0+BOYPkzLs8RcyRjdX01JVfk+ZuViyB10xZkEUIsI6kX4UQC/7zm a7vtkriHN6YYMD/6IDGdSiS8HFZxrhchMGU9zFyC+GvSXL68OsZfDisiLJtz7wvNzmNGDCH3fYVFM j29Bo8dbQ22J2r//KgTNl+YWbY1CwYE8TjBixz2evE+2uRxMmTonqBwrzT8Dp7xuoHtHZcFrh5GCD jZerZA2EoLFNxr80IqvT4k3Ejb0hV3gAycQGDmXBufubNixW3hHXcOMJpt9gPjCI+Jrltlwj4eGza iBnCSJMl/5qgkcYw1iD23g3PgDVrGleNSxZzwOKa8rqrgQSDwweKJ5rtVKl1AWQH+nvhHcK7Ihm+C glqZmjJCftxiw/yjIDOnlzCklsS0ajYVyVEHVpYqs=; Received: from 78-11-235-71.static.ip.netia.com.pl ([78.11.235.71] helo=localhost) by koszko.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1r7jn0-0004AR-1W; Mon, 27 Nov 2023 23:09:14 +0100 Date: Mon, 27 Nov 2023 23:09:12 +0100 To: Caleb Herbert Cc: help-guix@gnu.org Subject: Re: Installing software inside containers Message-ID: <20231127230912.04447c38.koszko@koszko.org> In-Reply-To: <4b3e279c-fd6e-fe50-6fb0-e253d2946679@bluehome.net> References: <4b3e279c-fd6e-fe50-6fb0-e253d2946679@bluehome.net> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/MRagwpDwl2QAaozsoEWcIl1"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org 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, SPF_HELO_PASS=-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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.10 X-Spam-Score: -7.10 X-Migadu-Queue-Id: E85EF40189 X-TUID: f1/tUIghaag+ --Sig_/MRagwpDwl2QAaozsoEWcIl1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Caleb, nice to meet folks from Trisquel forum here :) > Also, how do I map arbitrary directories? With Podman, I would do >=20 > /home/$USER/.container/home/user:/home/user You can pass `--share=3D"/home/$USER/.container/home/user"=3D/home/user` :) I can't help much with nesting Guix in a system container, tho =E2=80=94 I'd myself like to know if it is supported. I merely recall it's possible with `guix shell -C` container. But a simple shell won't do in all cases, I know Wojtek -- (sig_start) website: https://koszko.org/koszko.html fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A follow me on Fediverse: https://friendica.me/profile/koszko/profile =E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7 c2luIHNlcGFyYXR= lZCBtZSBmcm9tIEhpbQ=3D=3D =E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ? U2hhbGwgSSBiZWNvbWUg= SGlzIGZyaWVuZD8=3D -- (sig_end) On Sun, 26 Nov 2023 15:42:28 -0600 Caleb Herbert wrote: > Hi Guix, >=20 > I can't install software inside a Guix System container. I need this to= =20 > use Guix Home inside a container. >=20 > $ guix install hello > guix install: error: remounting /gnu/store writable: Operation not permit= ted >=20 > Do I need to --share=3D/gnu/store? >=20 > I tried sharing a blank ./gnu directory, but it complained that there=20 > were no programs to run the system. >=20 > (Is sharing the host's /gnu/store with a container safe?) >=20 > I created the container with >=20 > guix system container --network --share=3Dhome container.scm >=20 > Also, how do I map arbitrary directories? With Podman, I would do >=20 > /home/$USER/.container/home/user:/home/user >=20 > Thanks, >=20 > Caleb >=20 --Sig_/MRagwpDwl2QAaozsoEWcIl1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCZWUTiAAKCRBLxSIcWnn9 GuAMAP0XK1xrH9u+WyjLheMuKPadwN1cIvyauBGirlW7lwGEFQD/eVsDvyTTql5J yoTcZxHF7h4RXuiga9swNXORwW6NkgA= =yZT2 -----END PGP SIGNATURE----- --Sig_/MRagwpDwl2QAaozsoEWcIl1--