Podman manifest inspect doesn't work with existing images #7726
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
Podman manifest inspect only works with manifests created with podman, not with manifests that are created with docker and other tools. This can be tested by trying any image on a registry server.
Steps to reproduce the issue:
Any of these three commands will fail:
podman manifest inspect docker.io/library/busybox
podman manifest inspect registry.access.redhat.com/ubi8/ubi-minimal
podman manifest inspect registry.access.redhat.com/ubi8/ubi
Describe the results you received:
All three of the above command will fail with the following error:
Error: error inspect manifest registry.access.redhat.com/ubi8/ubi: loading manifest "registry.access.redhat.com/ubi8/ubi": unable to load manifest list: unsupported format "application/vnd.docker.distribution.manifest.v2+json": manifest type not supported
Describe the results you expected:
I would expect the "podman manifest inspect" command to work with pre-existing images, just like it works with manifests created by podman. Here's an example of this command functioning with a manifest created by podman:
[root@fedora ~]# podman manifest create mylist:v1.11
74ad8d03f4ed4802b3f9f3a715e5c75c17b574dc5c65370667de4ba0b89d78e1
[root@fedora ~]# podman manifest inspect mylist:v1.11
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": null
}
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes, this is the latest version on Fedora.
Additional environment details (AWS, VirtualBox, physical, etc.):
Probably does not apply to this problem, but on x86 in a Fedora based KVM virtual machine, running on RHEL
The text was updated successfully, but these errors were encountered: