Open
Description
Describe the bug
The image resulting from a rebase in which the original image and new base don't have the same layer types is not usable.
To Reproduce
- Create an image using
application/vnd.docker.image.rootfs.diff.tar.gzip
layer type. For example, an image produced by Jib. - Rebase it on a base using
application/vnd.oci.image.layer.v1.tar+gzip
layer type. (It could be the same base as the Jib image.) - The resulting image has OCI layer types on top of Docker layer types and is unusable.
Edit: the image is unusable with podman run
, but seems to work when using docker run
.
Expected behavior
The rebase should normalize the layer types so that the resulting image is usable.