You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this was intentional, but I wanted to verify since this changed between rc3 and rc4.
Now that v1.Manifest no longer has a self describing MediaType associated with it, it is incompatible with the docker layout for manifest. This means converting back and forth is a bit trickier. Given an oci manifest origManifest, converting it to docker format (so you can upload it into a v2 registry, for example), used to look like:
This removal is intentional. The field has only served to cause massive confusion, of which this issue is an example. The format was never meant to be self-describing nor is it so support autodetect. Doing so is both insecure and broken. To understand this, compare the usage of the mediatype field you are pointing out with the descriptor usage around it. It is not supposed to be there.
The main goal we want with compatibility is to remove the need to rewrite layers, which is preserved. The rest of the metadata, manifests and config will undergo a slight change, but that should cause any issues and should largely be transparent.
I think this was intentional, but I wanted to verify since this changed between rc3 and rc4.
Now that v1.Manifest no longer has a self describing MediaType associated with it, it is incompatible with the docker layout for manifest. This means converting back and forth is a bit trickier. Given an oci manifest origManifest, converting it to docker format (so you can upload it into a v2 registry, for example), used to look like:
Now it is necessary to wrap the manifest in a new version that has the removed field. For example:
This isn't hugely painful, but I wanted to make sure the ramifications of changing that field and breaking compatiblity are understood.
The text was updated successfully, but these errors were encountered: