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 uJDyD8N90V5YNwAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 21:25:23 +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 eIG0C8N90V4tQQAAbx9fmQ (envelope-from ) for ; Fri, 29 May 2020 21:25:23 +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 9405A9400AF for ; Fri, 29 May 2020 21:25:22 +0000 (UTC) Received: from localhost ([::1]:57544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jemVE-00072D-II for larch@yhetil.org; Fri, 29 May 2020 17:25:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jemV7-000725-3d for help-guix@gnu.org; Fri, 29 May 2020 17:25:13 -0400 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:33122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jemV5-0002pk-Cd; Fri, 29 May 2020 17:25:12 -0400 Received: by mail-lf1-x142.google.com with SMTP id z22so567065lfd.0; Fri, 29 May 2020 14:25:10 -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=GdDBnU4V4fAlEy1cwS6SS1hcxqAMEwQy11tSfQglOow=; b=KJdhIi0Agp4cGY+m+qO2yPzwhsURfWMfYP/E+mNqvkMhHSVRvT/G9w3r30/MYb6nxt gaaTqMXIKhgi5rPD9JVGEZTu9EM0xSMMMa0Ih53de75LlUR1sGpbkIqwbXROuOHG2yyX MkZ3e9y1GKsPgwrLH6iJ+/J+XTIUmNaa7YJJZyDkJZurfZTvJqZ1ECjfnyhRfLq1etmr 0pCrTxUoHozCXLL90meiUerjW+bV8hSeK2rZ3McPqU6sCmf8Buvvg6HA4MrRAunsmWAa iraGCGUXVjqwRU8il/LuyM5DOMSbod/rzC5O+dXMEQb3hinpZnQ+3GoqDlvzhKXQKMwz W9Rg== 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=GdDBnU4V4fAlEy1cwS6SS1hcxqAMEwQy11tSfQglOow=; b=IcxJN5Ydvk78AfqplV5MmQmuovsoyYxb7NM7KkMA79nJEqsVPEt9dla0p7AEQvGhbX J3lBJlRTeBL2YU8nETjxJraqyUGZAZZh5rtNwdhEkQB8J+mtRfwSkqAJlKl0TfMgWXF/ /0Oq8xqI8mvFAakUAvCQSFEs6v6rembAbqSBu4/48P9nLqCYXzgjAw31uj/XO2foTqaq 2Rg0OwBKgUBU0jO+A44jXu4rR/frZpAl2jfqE3BI8lJlov6WsuBBP07iWi8HpL8JNSCt T73fHQqabuAGv0bgVVXlmLay/TB18Li7IlgN6Lc6dJl83LAsJZfFDKSNS6zyX5oD73Of iT9Q== X-Gm-Message-State: AOAM531y8GWLJmYHSgPFuBZsU/4Y7bEsNd0Ba6E5U8kmrwGDapVe5VXJ xEVcQKI6c8wVrlp60IJMPC8pdtjM8ICm3yjzhVo= X-Google-Smtp-Source: ABdhPJx4CEz2688ITKweeDcnyWc34kj6PXusTshVu5Vzabfs5TlHwC6rqMgxx9CI5IE8KV93jZxmV7W0MEAlmnJeF58= X-Received: by 2002:a19:5206:: with SMTP id m6mr5272609lfb.144.1590787509465; Fri, 29 May 2020 14:25:09 -0700 (PDT) MIME-Version: 1.0 References: <20200528181043.GC23745@jasmine.lan> <20200529170820.GA30828@jasmine.lan> <20200529180245.GA3754@jasmine.lan> <87d06m4n6z.fsf@gnu.org> <20200529183731.GA6374@jasmine.lan> In-Reply-To: From: Stephen Scheck Date: Fri, 29 May 2020 17:24:58 -0400 Message-ID: Subject: Re: Guix Docker image inflation To: zimoun Received-SPF: pass client-ip=2a00:1450:4864:20::142; envelope-from=singularsyntax@gmail.com; helo=mail-lf1-x142.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=KJdhIi0A; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: grNmRFIxC00a On Fri, May 29, 2020 at 2:44 PM zimoun wrote: > On Fri, 29 May 2020 at 20:37, Leo Famulari wrote: > > > > On Fri, May 29, 2020 at 08:21:08PM +0200, Marius Bakke wrote: > > > Leo Famulari writes: > > > > --branch and --commit would be passed to `guix pull`, and then you'd > run > > > > `guix system docker-image` based on that. > > > > > > There is also 'guix time-machine --commit=abc123 -- system > docker-image'. > > > > Right, that's probably more efficient than creating lots of `guix pull` > > generations. > > Yes, but it is hard to apriori know the forward commit. > Yes, and also, does a Docker image created by `guix pull` followed by `guix system docker-image [...]` in fact really inherit the Guix snapshot from the system that creates it? Here's what I get on a freshly minted image made that way: root@guix /# guix pull --list-generations guix pull: error: profile '/var/guix/profiles/per-user/root/current-guix' does not exist root@guix /# guix describe guix describe: error: failed to determine origin hint: Perhaps this `guix' command was not obtained with `guix pull'? Its version string is 1.1.0-4.bdc801e. root@guix /# guix package --list-generations guix package: error: profile '/var/guix/profiles/per-user/root/guix-profile' does not exist But here's `guix describe` output from the parent system: root@localhost /# guix describe Generation 13 May 29 2020 19:28:11 (current) guix 41a2d6a repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 41a2d6a8b9294a6eb8e97aaefd569e755f5f461e Until a fresh `guix pull` is run on the new image, it isn't functional and there's no apparent way to confirm its actual commit hash, so I don't really see what advantage it offers over the incremental method I'm using (and it's unfeasibly slow, about 10-15 minutes for an incremental pull compared to over an hour to finish `guix system docker-image`).