bug-guix
[Top][All Lists]
Advanced

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

bug#47525: docker layer DiffID incorrect


From: Tom Hiller
Subject: bug#47525: docker layer DiffID incorrect
Date: Wed, 31 Mar 2021 12:55:17 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0

The Docker image created using "guix pack -f Docker" generates the sha256 checksum of config.json as the layer diff id used in manifiest.json, repositories and the parent directory name of layer.tar.  When extracting the contents of the Docker image, the sha256 checksum of config.json does not match the used for the layer.  As Docker currently does not seem to verify this, the image will still work but may not always be the case.


I am not familiar with Guile Scheme, but as best as I can determine in guix/gnu/services/docker.scm the checksum calculated in layer-diff-id is the of Scheme native. and not the ultimate JSON document.


reply via email to

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