guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building container images with nix2container


From: Antoine Eiche
Subject: Re: Building container images with nix2container
Date: Sun, 17 Mar 2024 18:09:47 +0100

Simon Tournier <zimon.toutoune@gmail.com> writes:

>> Does your built images contains several layers?
>
> This had recently been introduced.
>
>         0cf75c9b2f23869201144917cea7f6ad49683d3d
>         AuthorDate: Tue Dec 26 03:54:12 2023 +0300
>         CommitDate: Mon Jan 8 21:04:44 2024 +0300

Thanks.

>> nix2container uses an heuristic to group store paths into layers. The
>> goal is to share common layers between images and to avoid full image
>> rebuild when only a storepath differs.
>
> Well, I have not followed on which strategy Guix relies.  What is the
> one of nix2container?  The one described here:
>
>     https://grahamc.com/blog/nix-and-layered-docker-images/

Yes.
But I think it could be improved by taking the nar size into account.

lewo.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]