From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id R2mqB/1Fa1/9dQAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 12:56:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MJj9Av1Fa19nawAA1q6Kng (envelope-from ) for ; Wed, 23 Sep 2020 12:56:29 +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 9146E9400C7 for ; Wed, 23 Sep 2020 12:56:28 +0000 (UTC) Received: from localhost ([::1]:34098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL4Jv-00032u-Cd for larch@yhetil.org; Wed, 23 Sep 2020 08:56:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL4Ha-0000fm-64 for guix-devel@gnu.org; Wed, 23 Sep 2020 08:54:02 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:34732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kL4HW-0008Kw-OJ; Wed, 23 Sep 2020 08:54:01 -0400 Received: by mail-qt1-x831.google.com with SMTP id 19so18508754qtp.1; Wed, 23 Sep 2020 05:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y8hX+qATEweuz9IWmP4z/V/Pk3yJTKVHQ651WjcI3oA=; b=YXR7zBGEe9er/ol1ZIT4Y+ZL90eJHKipfX2xVPznZDhwr7JWaafoWbh51qWCQY9OfB FgMBvFxizv+N3cEuPtws3Lr2dFuY03RFTMmRHOQf1OOaQk142mqsWrIhvbVqm46m8rtz NntRewS31vjAAzO/V4ENWCdpla6E16mRD3mZf2ZKO3VD284U2MEFoxVona6ng/WT2GEn QvUqElUYkl70yHBbjaAjgJuqTr6ubHmnDZFFIrJ+gvMTZcumuDHd9sl1j3MffFn8EhXl Fx/SnieQen/YKPtUVg4r0sC9EOvkoud7yrNCMzRWoFQl1CBIXkjpQlyZt4SCNvCUgODs +zOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y8hX+qATEweuz9IWmP4z/V/Pk3yJTKVHQ651WjcI3oA=; b=qXDl2uNtOg/WzW/zWoQjJ7lgvDzHrWJW5PnQA5xZhFB2+eLLwvZCetPekiiM8YOBp6 unSUxrUy2eckmJkO0ZYZrUbEmIKU5IpH1ja59sMm46CD/zmjdIl4qDG3n5Uhj4qaGtWr 0/k5qvT8Q/dVfjPTNPbER7/NJlzZlN5K9i/06rmX1bGQTEG6mYhB1qDZEr4+S0dFc6Ml n6m1lS5BgQnSLaDZIAa/82Fv6zMhhB21Xmc1TzksOX3Ux0EZwdkdzusajbo4oh5YaXWg LGWIBXatPxMnQRbo3wUT1pFR0YbAQdvVfQbW036jxMP5R8wazT7QBqeip7orFh6AI6MF WkTg== X-Gm-Message-State: AOAM530eUg29cVpluS75TvadxZ6jkRbuEqWavgseTpmJB3yp3jfAwzva prey9sMuAHkrW6ZWONNVA3nmTTvaGf0BviPuGgd3qrZqcGAH8Q== X-Google-Smtp-Source: ABdhPJzAFb+A8wHhVH0Qy8jdryLFH9IxVg8SgSYlNAkf/J97fw8ZXicfrvklU6C+1J0wpKvuTFWmY6VCzu8OaEYp1bU= X-Received: by 2002:ac8:424a:: with SMTP id r10mr9368301qtm.211.1600865635327; Wed, 23 Sep 2020 05:53:55 -0700 (PDT) MIME-Version: 1.0 References: <20200922115019.08d40bec@scratchpost.org> <20200923110724.ya72yatw7dsqqjfm@thebird.nl> In-Reply-To: <20200923110724.ya72yatw7dsqqjfm@thebird.nl> From: zimoun Date: Wed, 23 Sep 2020 14:53:44 +0200 Message-ID: Subject: Re: Releasing guix binary in Docker format too? To: Pjotr Prins Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x831.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: Guix Devel , Mathieu Othacehe Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=YXR7zBGE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.09 X-TUID: kVERN13CFs65 Hi, (Sorry Dany I have overlooked this email.) > > While I was researching gitlab, I came across a feature where they have their > > own Docker container registry on there. Apparently, the Docker CLI can fetch > > from whatever server the user wants! > > > > $ docker run [options] registry.gitlab.com/group/project/image [arguments] > > > > That got me thinking, we could easily also release Guix on something like > > that. Is our HTTP webserver enough to have a Docker registry, without > > installing extra stuff? Docker images can be quickly really big. Can Berlin support such traffic? > > $ docker run localhost/foo > > Unable to find image 'localhost/foo:latest' locally > > docker: Error response from daemon: Get "http://localhost/v2/": dial tcp 127.0.0.1:80: connect: connection refused. > > > > Aha! > > > > Do we want to do it? > > I say YES :). If we have a way to create these containers we can > distribute them through http IPFS. We'll help write a nice discovery > web interface which initially can be a simple web page. I don't think > we need Docker containers for every package. But if there is a demand > for a specific tool it can be very helpful to distribute software that > way. At FOSDEM19, in the session "world domination", we discussed a service where the user provides a manifest.scm file or click to select various packages (and optionally a channels.scm file) and then the service returns the Docker image ready to be pulled (or docker run URL). Well, this killer-feature "service" seems a far objective. :-) Proposing a Docker image ready-to-use containing the package manager could be nice and a first step in that direction, IMHO. The same way , maybe adding a Docker (or Singularity) image would be nice to have. > In fact, one software I am writing depends on a host of programming > languages including Python, Racket and Rust. A Guix Docker container > is by far the simplest solution to distribute the software. And Guix > containers are tiny - which is really nice. Guix containers tiny? It depends on what you pack. :-) (For example, only Emacs is not tiny.) All the best, simon