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
{{ message }}
Repository navigation
pull gives an obscure error when fetching non-OCI (i.e. legacy Docker v2s2) images #99
I think this related to my comment on the original issue. If I'm reading the containers/image code correctly, I think we do need to call ConfigBlob because when we convert from docker -> OCI we generate the OCI version of the config, but now it only exists within the cache? And since #98 now we try to fetch the rewritten/cached from the registry, which obviously doesn't have it.
I'm not confident at all on this though. Will need some experimenting.
My take is we should only support OCI in this repo. As we think about image signing and sealing, I don't think we want to need to consider the legacy formats.
I would actually like to deprecate non-OCI in bootc as well, it's just harder there.
So I'm proposing that we change the error here from (currently) "blob unknown to registry" to a failure to deserialize. If we wanted to give a nicer error we could try parsing it as the legacy docker type, but...eh.
That said though one thing I don't understand is why we pass the config object through splitstream? There's nothing to be split. But maybe this is rehashing #14 a bit
That said though one thing I don't understand is why we pass the config object through splitstream? There's nothing to be split. But maybe this is rehashing #14 a bit
Splitstream can also store intra-file references and we use it for that. It's also currently the only way to store data in the repository...
My take is we should only support OCI in this repo. As we think about image signing and sealing, I don't think we want to need to consider the legacy formats.
It's worth mentioning that this container image was built on quay.io builders... it might be the case that other people also have plans to do that...
Ah, yeah. I think the quay.io build infrastructure is a bit under-maintained. Bigger picture, most people who want to build containers also want to test them, and if you have infrastructure to test containers (which is not quay.io) you also generally have a place to build them; the major zero-dollar git forges tend to have default associated zero-dollar builders that can do both.
Activity
allisonkarlitskaya commentedon Apr 8, 2025
@jeckersb wanna take a look at this one too? This is a regression since #98...
cgwalters commentedon Apr 8, 2025
That image is docker (not OCI) format
Which goes back to the proxy autoconversion, which would make sense to support turning off.
jeckersb commentedon Apr 8, 2025
Yeah I'll take it.
On that note... can someone do repo magic to add me here so I can assign things to myself? 😄
jeckersb commentedon Apr 8, 2025
I think this related to my comment on the original issue. If I'm reading the containers/image code correctly, I think we do need to call
ConfigBlobbecause when we convert from docker -> OCI we generate the OCI version of the config, but now it only exists within the cache? And since #98 now we try to fetch the rewritten/cached from the registry, which obviously doesn't have it.I'm not confident at all on this though. Will need some experimenting.
cgwalters commentedon Apr 8, 2025
My take is we should only support OCI in this repo. As we think about image signing and sealing, I don't think we want to need to consider the legacy formats.
I would actually like to deprecate non-OCI in bootc as well, it's just harder there.
So I'm proposing that we change the error here from (currently) "blob unknown to registry" to a failure to deserialize. If we wanted to give a nicer error we could try parsing it as the legacy docker type, but...eh.
cgwalters commentedon Apr 8, 2025
That said though one thing I don't understand is why we pass the config object through splitstream? There's nothing to be split. But maybe this is rehashing #14 a bit
allisonkarlitskaya commentedon Apr 8, 2025
Splitstream can also store intra-file references and we use it for that. It's also currently the only way to store data in the repository...
allisonkarlitskaya commentedon Apr 8, 2025
It's worth mentioning that this container image was built on quay.io builders... it might be the case that other people also have plans to do that...
cgwalters commentedon Apr 8, 2025
Ah, yeah. I think the quay.io build infrastructure is a bit under-maintained. Bigger picture, most people who want to build containers also want to test them, and if you have infrastructure to test containers (which is not quay.io) you also generally have a place to build them; the major zero-dollar git forges tend to have default associated zero-dollar builders that can do both.
[-]more pull problems[/-][+]pull gives an obscure error when fetching non-OCI (i.e. legacy Docker v2s2) images[/+]oci: Attribute pull errors to the failing blob
oci: Attribute pull errors to the failing blob
oci: Attribute pull errors to the failing blob
oci: Attribute pull errors to the failing blob