-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
1
-
False
-
None
-
False
-
rhel-sst-container-tools
-
-
-
RUN 254
[2314849771] Upstream Reporter: Shion Tanaka
Upstream issue status: Closed
Upstream description:
If I run skopeo inspect tarball: on a Docker V 2, Schema 2 (docker-archive) image saved with podman save or docker save, the response is an OCI Image.
$ podman pull docker.io/library/alpine $ podman save -o alpine-docker.tar --format docker-archive alpine $ podman save --format docker-archive alpine | gzip > alpine-docker.tar.gzip $ podman save -o alpine-oci.tar --format oci-archive alpine $ podman save --format oci-archive alpine | gzip > alpine-oci.tar.gzip $ ls -l total 20912 -rw-r--r--. 1 core core 9120256 May 24 17:47 alpine-docker.tar -rw-r--r--. 1 core core 3958359 May 24 17:47 alpine-docker.tar.gzip -rw-r--r--. 1 core core 4205568 May 24 17:48 alpine-oci.tar -rw-r--r--. 1 core core 4122277 May 24 17:49 alpine-oci.tar.gzip $ skopeo inspect tarball:alpine-docker.tar --format '{{(index .LayersData 0).MIMEType}}' application/vnd.oci.image.layer.v1.tar $ skopeo inspect tarball:alpine-docker.tar.gzip --format '{{(index .LayersData 0).MIMEType}}' application/vnd.oci.image.layer.v1.tar+gzip $ skopeo inspect tarball:alpine-oci.tar --format '{{(index .LayersData 0).MIMEType}}' application/vnd.oci.image.layer.v1.tar $ skopeo inspect tarball:alpine-oci.tar.gzip --format '{{(index .LayersData 0).MIMEType}}' application/vnd.oci.image.layer.v1.tar+gzipIs it possible to fix it to respond with Docker V2S2?
Upstream URL: https://github.com/containers/skopeo/issues/2338
- links to