* bug#47525: docker layer DiffID incorrect
@ 2021-03-31 16:55 Tom Hiller
0 siblings, 0 replies; only message in thread
From: Tom Hiller @ 2021-03-31 16:55 UTC (permalink / raw)
To: 47525; +Cc: piotr.krol
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
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-idis
the of Scheme native. and not the ultimate JSON document.**
[-- Attachment #2: Type: text/html, Size: 1361 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-31 19:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 16:55 bug#47525: docker layer DiffID incorrect Tom Hiller
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).