From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GCbyFX79OGXFagAAG6o9tA:P1 (envelope-from ) for ; Wed, 25 Oct 2023 13:35:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GCbyFX79OGXFagAAG6o9tA (envelope-from ) for ; Wed, 25 Oct 2023 13:35:26 +0200 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 D5E383047E for ; Wed, 25 Oct 2023 13:35:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=bpYoo+xG; dkim=pass header.d=wolfsden.cz header.s=mail header.b=pzRyF2SP; 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"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698233726; 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=YwxZeMHqs+F6MZAaOOlge+Yk9fLDThZYlf4PxuoEsqs=; b=ctQ9+W+utgGb5lo/aOPL0LgefEQs5/p0qrfU/5VqT7battpZJjw1URK0pAg174/F4r5fUq fx/SIN3HuGUFvtfiqSW6bturbGP3kCiSxjuKt/UcQiVDopnDxJsx+CGFVORj/u7HyXi/hZ IoTA4KR4nF/l9rYsVOFZ4pqsJPYEBCrHApkYH8k6cORFpwyPfdX/P4RPcl8yVQmtWjMe4q YDVV42a51SIfY4e6t19Hvx56+ziDhySmBvvlukBDx6fyUtQJp2Clp6Csf+dUf+bHMz6c02 CImh5iNW2AigvsS0ixvBKq+5G6ztTbpX1Uk/YO3UtOhj/XhFkZcg0ldza4SRGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=bpYoo+xG; dkim=pass header.d=wolfsden.cz header.s=mail header.b=pzRyF2SP; 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"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698233726; a=rsa-sha256; cv=none; b=V8AE6L+8nr9+3rsuFPWpqNALasdMGEB/B61c0iiKHUoB0aqx5Qw0TSQOyeo2v2X7Li/X/Z Bd5RcR7xmLma7Sitz0Nk16HHdB0QpCKvEo7fIBqXGHoA12Ar3QhuIjF7rjJlCoOZvpygYj X//2N+qzAnhWSzuI/idlf8OCBvfZzRcqlZP4RtQilxqAjRr2jqNrMwO030FKTctzLaA5XH hvQ0BJo25rzgH1KjA/KVTzNRnaE6nUEQtyxsiV5xSfGuM2KpuexZXdEG7vKXMikt89Ql6g MWimvXtBK8eGdvt+pZKOW3Wrdfbn24pjreL1m/jr/tsy7XuWkgz09jwIgwGUUg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvcA4-0002oq-5u; Wed, 25 Oct 2023 07:34:56 -0400 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 1qvcA3-0002og-11 for help-guix@gnu.org; Wed, 25 Oct 2023 07:34:55 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvcA0-0000nj-CD for help-guix@gnu.org; Wed, 25 Oct 2023 07:34:54 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 7DCB9272ACC; Wed, 25 Oct 2023 11:34:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698233688; bh=el0mRVTBijqNbF5AMxJy//MTWDOsgWgGRyNXJRPbTSA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bpYoo+xGaRz93BbAOVd/Wn5LzxVTWNTPSqK3rpvILzpMQgUyeMuJ1Duk2/6hN3Wcl vaVlknVfForBa+DmgXik35Aumwc2gwpnk6Hjoh+ElCHGGyLhdzMEJx9Skuuz7gJtFw OCC+8Whjqh89X8GUyqE0BW2S8jUGo1aAGcMrvqhH61QF11s2h68jTpK2Ta9Rj9Gr0Z tFOfBD+NYo9uH9nboPGr3wggk73SjtwNr+LDyYeX/UMMlgZOmKwvw9HQP87KPzPqYQ 5HJdoa9yg4mc8GxZ8XG62qMxA6KnKFq8WBUDZimlAe+UDQU7VppzX6KGhGf2Gemdvv bxmiSlt4+RfqKY5y+iY42tdpxEa9LMASRM7AKY8SuOT5ikuzrpOp2NU2hwxvcPAlKx Ddght5AJHcaNg70rtVoO5HfERfu2dKvnU5DBrvp76d/VgfFNzdvG+PreZFJ9b79dIe aaFpriGp3INnKJ3c4bdmBP/3rRPtIrsnYfNuDJ0bfXZfuPUzguiTgLiM2a259Yp7+w 4FbJ0kmMml8+oDwaHvkZNFdMLjO5qomkt7Drsh2s+i3droDAHcvBx0YOA4xiy2CH4b t7yHzHAzk153i4xa50wBQsfswDcy4SpDBmZhEmVDz9T+uH9yo8GD//WyfbvX0BBRkU IPc6Ybkth0I5bCLbBWA3m2WU= Received: from localhost (unknown [193.32.127.157]) by wolfsden.cz (Postfix) with ESMTPSA id 34967270DF7; Wed, 25 Oct 2023 11:34:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698233687; bh=el0mRVTBijqNbF5AMxJy//MTWDOsgWgGRyNXJRPbTSA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pzRyF2SPnxutYkzGvPiB2C7/zy0gYO/OEYl+1mr8kiv6cjApmnmhO4X+ug2zHmfPy +9dfoGZGRSoNvsbukUD0KIvsVKCQYDYdnZXiYug73sn0N74SFmTm/NAVLuCbZX/ioe glCpwt96HdPrMnAapZX+osPmEX5I7GlR5hnZnkclmC220rs7Ki3SvLBMYZvse0RB3v hAsk+jbsrjvsh7GN1nXUYFHtb8s0AfdwthP1VyBR9jHDgkMYoOXSTQAd9GCnCsKquY oNCIcMkwVeBxH6y9/VMEFqxxsnhWOMLJZWaXtsg0aZO3E1NhM126gh9fsLbyj7ICKl maI2hvMse8FUyrWH2OawqswZMq7gVojvkmwcTuTVev632TlOs9Emk819XypwWIqDIz Gc7vZl5VaSy1lJKMrgVn6uRuuQP3tB20G6+ehSMQrq4c0sk6tauue8TyudxoQLGuQX 0RIVEGV8CzuLEWKVtnFoOrfcSax468WrXiHjYezYyhzo/WvQ0+PJXgQmhUZLK0RhOM 7ymfONTOFRPcOMSjDWwhiJGUwH4diD0pZRsbA11p2V2+vwnS0vJ6DxghwSay+wHvAd 4UziqZfitjET+Y/WarbiqdK7dlyjwJTwEpjT8XbKvuwdNdvZ35MzJ7Ay8Jqfyiv4wx 4B3t7z6MFgoQXEesoA2jNGY8= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5a648971; Wed, 25 Oct 2023 11:34:45 +0000 (UTC) Date: Wed, 25 Oct 2023 13:34:45 +0200 From: wolf To: Fredrik Salomonsson Cc: help-guix Subject: Re: Anyone got distrobox working? Message-ID: Mail-Followup-To: Fredrik Salomonsson , help-guix References: <87zg071wmt.fsf@d2.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/hdVDab7KQGPwNE2" Content-Disposition: inline In-Reply-To: <87zg071wmt.fsf@d2.com> Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -10.21 X-Spam-Score: -10.21 X-Migadu-Queue-Id: D5E383047E X-TUID: F9tg6GyVkmsp --/hdVDab7KQGPwNE2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-10-24 22:30:34 +0000, Fredrik Salomonsson wrote: > Hi, >=20 > I noticed that guix has [distrobox][0] packaged but it does not seem to > work. >=20 > ```sh > $ guix shell distrobox -- distrobox create -i ubuntu:22.04 > Image ubuntu:22.04 not found. > Do you want to pull the image now? [Y/n]:=20 > Error: short-name "ubuntu:22.04" did not resolve to an alias and no conta= iners-registries.conf(5) was found > ``` >=20 > ```sh > guix shell distrobox -- distrobox create -i docker.io/library/ubuntu:22.04 > Image docker.io/library/ubuntu:22.04 not found. > Do you want to pull the image now? [Y/n]:=20 > Error: open /etc/containers/policy.json: no such file or directory > ``` >=20 > From what I understand I need to properly setup podman with > /etc/containers populated with the right configs. I've looked around > but I cannot find any docs or services that allows me to do that. > Checked the mailing and IRC archives but could not find any useful > information. Apart from maybe podman does not work on guix. Podman does work, but there is no built in service to configure it correctl= y. Snippet from my system configuration: (simple-service 'subugid-config etc-service-type `(("subuid" ,(plain-file "subuid" "wolf:100000:65536\n"= )) ("subgid" ,(plain-file "subgid" "wolf:100000:65536\n"= )))) (simple-service 'containers etc-service-type `(("containers/storage.conf" ,(plain-file "containers-s= torage.conf" "[storage]\ndriver =3D \"btrfs\"\n")) ("containers/policy.json" ,(local-file "files/policy.= json")))) And files/policy.json: { "default": [ { "type": "insecureAcceptAnything" } ], "transports": { "docker-daemon": { "": [{"type":"insecureAcceptAnything"}] } } } After that, guix shell podman -- podman run --rm hello-world . >=20 > Has anyone got distrobox working and if so how? No idea about distrobox, but the above should get the podman working. >=20 > Thanks >=20 > [0] https://distrobox.it/ > --=20 > s/Fred[re]+i[ck]+/Fredrik/g >=20 T. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --/hdVDab7KQGPwNE2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmU4/VUACgkQL7/ufbZ/ wakNMg//SA/KaioiG60BYYASxPQSLm9ltxz5Uvi094FogXgocRmB2/7HNIn1UbL7 ebAimp+I9C0nWI/iQ1zTvd275dgDLaRhNEknlYiye1E8MhuNUhde7zwpIe3tjTAL yTcqdkj9ks4QBrn1gxBYGJLwct/kHogzs+wny4L8HhpeqAh93151i5SqFrr1o+2U JpeGFGn+48DlsSK5RaRSZvJe76WSd35vhY8+Wpu0/Dgs19ROiFBibluD81nvWwZJ Ia7EHHo3YN4oPCs3r+RI7UonkN00YlM1chiAYoOO1qdPe1C60Kc5QVc8Fkc5Gpom VbRh9VopZFQMLMW/xrS5LpEL8NgBDCTqcO3OTHEcTafcIFwe+zlPZy7qSflbpXU5 3GEksOsr3vTrOpvUTHH693SJZ6XN5sAnC1nGMwf3+7Hvu/S5D1DVcj+pz9Plmf/W aZvrFX3Xa/ssiajLJIwhMbpVkIo86ALoTtgAa4QkS+Y+TH4nICW8TDrR6tdNcakK RnAeQ3lyPKNcXuJugEcofgrIG+I81MEEXU4Fcwt4cESIjem1YoycejcqQLWSNDXw SExCojlYWVeIae1YwA//VAr0EHIFFXoJVcssvuTlw72tC8fa0z6CsvxIHHUvAd0D evhRI43gtkTzNGFuHeS922F1wD6kknVojrS59IG13D0qhPmEdLU= =YBYW -----END PGP SIGNATURE----- --/hdVDab7KQGPwNE2--