all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suhail Singh <suhailsingh247@gmail.com>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Are Guix-generated Docker images reproducible?
Date: Mon, 16 Sep 2024 09:21:11 -0400	[thread overview]
Message-ID: <87ed5jivjs.fsf@gmail.com> (raw)
In-Reply-To: <m1wmjbx2ib.fsf@fastmail.net> (Konrad Hinsen's message of "Mon, 16 Sep 2024 13:27:08 +0200")

Konrad Hinsen <konrad.hinsen@fastmail.net> writes:

> Suppose you do
>
>   guix time-machine --channels=channels.scm -- \
>           pack --format=docker --manifest=manifest.scm
>
> You keep a copy of channels.scm and manifest.scm, and run the same
> command a few months (and "guix pull"s) later, can you expect to get the
> exact same Docker image file, bit for bit? If not, why not?

Based on what I have observed, I know that you can get the same docker
image (as identified by the image ID hash) in some instances.  A
necessary condition, I imagine, would have to be for the build results
to be deterministic (i.e., the derivations to be "reproducible").

-- 
Suhail


  parent reply	other threads:[~2024-09-16 13:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-16 11:27 Are Guix-generated Docker images reproducible? Konrad Hinsen
2024-09-16 11:43 ` Ignas Lapėnas
2024-09-16 13:21 ` Suhail Singh [this message]
2024-09-16 14:49   ` Konrad Hinsen
2024-09-16 17:37     ` Suhail Singh
2024-09-20 16:55 ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ed5jivjs.fsf@gmail.com \
    --to=suhailsingh247@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.