Subject: Re: [bug#62153] [PATCH] Add Docker layered image for pack and system (v3)

From: Oleg Pykhalov <[email-masked]>
Date: Wed, 31 May 2023 16:14:57 +0300

Greg Hogan <[email-masked]> writes:

> On Wed, May 31, 2023 at 4:46 AM Oleg Pykhalov <[email-masked]> wrote:
>>
>> Hi, Guix.
>>
>> These patches series is rebased on origin/master. Also, the Python script is
>> replaced in favour of calls to GNU Tar and GNU Gzip programs.  Passed tests:
>> make check TESTS="tests/pack.scm"
>> make check-system TESTS="docker-system"
>> make check-system TESTS="docker-layered-system"
>>
>>
>> Oleg Pykhalov (2):
>>   guix: docker: Build layered image.
>>   news: Add entry for the new 'docker-layered' distribution format.
>
> Why not use layered images for all docker packs?

Do you mean use layered images by default without ability to build all
in a single layer?  Current layered implementation is slow to build
because it needs to calculate a size of each layer, pack, and compress.
So if user wants a faster build, a non-layered image is still an option.

Regards,
Oleg.