From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CoiIAUiwol83HQAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 13:44:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EC95OEewol80EAAAB5/wlQ (envelope-from ) for ; Wed, 04 Nov 2020 13:44:39 +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 C08D5940148 for ; Wed, 4 Nov 2020 13:44:39 +0000 (UTC) Received: from localhost ([::1]:56350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaJ5a-0002GS-Iu for larch@yhetil.org; Wed, 04 Nov 2020 08:44:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaJ5Q-0002DA-Iw for guix-devel@gnu.org; Wed, 04 Nov 2020 08:44:28 -0500 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]:59394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaJ5O-0003LR-6q; Wed, 04 Nov 2020 08:44:28 -0500 From: Jelle Licht To: zimoun , Danny Milosavljevic , guix-devel@gnu.org Subject: Re: Release: Docker Image? DockerHub? skopeo? In-Reply-To: <86tuu5fklj.fsf@gmail.com> References: <20200922115019.08d40bec@scratchpost.org> <86tuu5fklj.fsf@gmail.com> Date: Wed, 04 Nov 2020 14:44:18 +0100 Message-ID: <86y2jhck3x.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-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: , 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=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: 1.59 X-TUID: unf42bXCT0ui Hello, zimoun writes: > Some days ago, we discussed on #guix about releasing Docker images > ready-to-use. And you pointed your project: > > https://gitlab.com/daym/guix-on-docker/ [snip] > Fourth question for Jelle: do you have time to add examples to the > Cookbook using the package =E2=80=99skopeo=E2=80=99? If not, who could? I was actually putting that on the back burner for now, as I felt I first needed some time to understand Danny's `guix-on-docker' better in order for the skopeo stuff to warrant a cookbook section. The entire workflow as I use it now can be summarized by the following three-liner: --8<---------------cut here---------------start------------->8--- REGISTRY_IMAGE=3Dregistry.gitlab.com/group/project=20 IMG=3D$(guix pack --save-provenance -f docker --entry-point=3Dbin/hello hel= lo) skopeo copy --dest-creds USERNAME[:PASSWORD] \ "docker-archive://$IMG" \ "docker://${REGISTRY_IMAGE}:latest" --8<---------------cut here---------------end--------------->8--- > This is a follow-up to the thread, started here [1] and arguments about > DockerHub and co. there [2] and Ludo=E2=80=99s comments [3]. Our timing is pretty bad here, as Dockerhub updated some of their policies only two days ago regarding usage limits for both 'anonymous' and free tier registered users [4].=20 > 1: https://lists.gnu.org/archive/html/guix-devel/2020-09/msg00212.html > 2: https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00352.html > 3: https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00352.html [4]: https://www.docker.com/blog/what-you-need-to-know-about-upcoming-docke= r-hub-rate-limiting/ - Jelle