-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
manifest subcommand creates invalid manifest list #1135
Comments
From looking at the code the issue seems to be that the original manifest is not stored in the original form and instead it is reserialized inside a new json object |
Odd. There was an issue (that I can't find now) about this. And I went to a lot of trouble to get it back to looking exactly the way it looked originally. The issue had to do with the manifest changing (just the tabs in it), and so the hash was different. If anyone has that in their history or inbox please link. @dmcgowan what version of the cli do you have? |
Ah, hidden in collapsed history. Starting here: hinshun commented on Nov 2, 2017 So it should be fixed in the original, but is not, apparently. I'll take a look. |
Downstream impact includes a broken CoreDNS for Kubernetes release at kubernetes/kubernetes#65253 which is marked as priority/critical-urgent in that repo. |
Answering containerd/containerd#2401 (comment) @tonistiigi so you're right if you restrict yourself exclusively to code comments of the exported functions/fields. But then, only 3 lines below, this can be confusing: Anyway, the current manifest code seems to need the unmarshalled |
Fixes: docker#1135 Tested-by: Christy Norman <christy@linux.vnet.ibm.com> Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
Fixes: docker#1135 Tested-by: Christy Norman <christy@linux.vnet.ibm.com> Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
I am now getting what appears to be the same issue. I am on MacOS 12.3.1 Docker version:
I am getting the following error while building a Docker image from a base node image (node:14.19.1 for building and node:14.19.1-alpine3.15 for runtime)
I have tried different combinations of the node and alpine versions in the |
Currently creating manifest lists from the experimental manifest subcommand uses an incorrect for the manifest, creating invalid manifests. These manifests fail to be pullable with containerd since containerd validates the size. This has lead to broken images being pushed to registries.
See conversation from containerd/containerd#2401
The text was updated successfully, but these errors were encountered: