logoalt Hacker News

cpuguy83yesterday at 9:32 PM1 replyview on HN

That is not correct. You would have to use the same compression tool (and likely version) for this to match.

Old docker discarded the compressed bits but kept some metadata about the the so it can at least recreate the tar.

It also recreated the manifest o push.


Replies

flakesyesterday at 9:41 PM

Thanks for the correction. I did mean given the same tooling version/parameters, but (as you and others pointed out) preserving and recreating that state is not at all straightforward.