ostreedev / ostree-rs-ext

Rust library with higher level APIs on top of the core ostree API
Apache License 2.0
74 stars 24 forks source link

unencapsulate: Handle legacy docker MIME type #565

Closed cgwalters closed 10 months ago

cgwalters commented 10 months ago

In the original design of the skopeo proxy, the idea is that it shields us from the legacy Docker formats, converting everything to OCI.

That has worked - except it turns out in the case of pulling a docker-formatted image from containers-storage, the proxy code fails to convert the layer types.

In this case, it's easy to handle here; we only need to care about the uncompressed version in this case.