From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6EkWK+f8s199fAAA0tVLHw (envelope-from ) for ; Tue, 17 Nov 2020 16:40:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cA3oJuf8s186JQAAbx9fmQ (envelope-from ) for ; Tue, 17 Nov 2020 16:40:07 +0000 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 2A9279401CD for ; Tue, 17 Nov 2020 16:40:06 +0000 (UTC) Received: from localhost ([::1]:53210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf41V-0002CP-TP for larch@yhetil.org; Tue, 17 Nov 2020 11:40:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf3zo-0000OT-OK for guix-devel@gnu.org; Tue, 17 Nov 2020 11:38:20 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:59306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf3zi-0001sZ-Hn; Tue, 17 Nov 2020 11:38:20 -0500 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id EB0E1336220D; Tue, 17 Nov 2020 17:38:10 +0100 (CET) Date: Tue, 17 Nov 2020 17:38:09 +0100 From: Danny Milosavljevic To: zimoun Subject: Re: Releasing guix binary in Docker format too? Message-ID: <20201117173809.614ca823@scratchpost.org> In-Reply-To: <86pn4esca3.fsf@gmail.com> References: <20200922115019.08d40bec@scratchpost.org> <20200924095904.49411b47@scratchpost.org> <87mu0g7xiu.fsf@gnu.org> <87eelr37rn.fsf@gnu.org> <20201104154316.548b26e3@scratchpost.org> <87imai24cb.fsf@gnu.org> <86a6vufy9l.fsf@gmail.com> <20201106142801.30278d85@scratchpost.org> <86pn4esca3.fsf@gmail.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Nwv1g=LwVIstFL8Z4U_oO5f"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 10:47:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.11 X-TUID: xaT4IWAPDEDP --Sig_/Nwv1g=LwVIstFL8Z4U_oO5f Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On Sun, 15 Nov 2020 19:30:44 +0100 zimoun wrote: > $ docker exec guix guix pack hello > user with UID 0 not found Docker needs to generate a /etc/passwd with uid 0 and the guix build user a= ccounts, and a /etc/group with the guixbuild group; and whatever other user= s the things that are composed together using docker compose[1] require. H= ow does this work in Docker-land ? > substitute: guix substitute: warning: ACL for archive imports seems to be= uninitialized, substitutes may be unavailable We need to configure substitute server acls (/etc/guix/acl). So this one i= s totally our fault. > substitute: guix substitute: warning: ci.guix.gnu.org: host not found: Se= rvname not supported for ai_socktype Docker needs to generate /etc/services with a union of the required service= s of all the things that are composed together using docker compose. All in all, these are all obvious things which guix-on-docker already works= around (I don't know the official way that surely exists--hence the workar= ounds). The question is: since Docker supports composition[1], how do they handle t= his standard case ? How can we get Docker to generate /etc/services, /etc/= passwd and /etc/group for the composed docker image ? > BTW, the tool skopeo failed in the branch version-1.2.0 as =E2=80=99weath= er=E2=80=99 > confirms. Therefore the Cookbook recipe will be for the next release. (I can't help with skopeo, never used it before) [1] https://docs.docker.com/compose/ --Sig_/Nwv1g=LwVIstFL8Z4U_oO5f Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl+z/HEACgkQ5xo1VCww uqW7JAf9EFMcysbds0GuLHnVGxgyDMB8Gy1aexvphk5eRQwXMFSbBHbPm1ADGzkI irSO025f8AXSK7IxfIE9VmQIAMFvj71xOno2Gep9vbUqFYRh9Xk9kQl+g/iAmGOn nmyPbbYkI+mP2JeNS9FVpS1dYr+G+9ve1Oo6vElbFSJoNr+Y22Zn8jutmhV3TuzI Xz9rFwaXiKzM0fQir8BqEBKkiWSWqmf5jlaqlMZczK4ft+YL63N2W4a3etqExJuZ zF2ERDRZCGuBtjiLxUizokiTpdSi8La2zjvhbJkQj2YyYzAEjjJ4jWgMkuzO7Cd0 5ufW4DkKQXNwB+t+Jg3FUH/1zswABA== =liCa -----END PGP SIGNATURE----- --Sig_/Nwv1g=LwVIstFL8Z4U_oO5f--