Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifest_list: inspect should contain formats OCIv1 and docker
ManifestInspect should contain all known formats for a valid manifest list as of now only supported formats are `OCIv1` and `Docker` so inspect should support that. Example output from podman ```console podman manifest inspect test { "ociv1": { "schemaVersion": 2, "mediaType": "application/vnd.oci.image.index.v1+json", "manifests": [ { "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "digest": "sha256:9b2a28eb47540823042a2ba401386845089bb7b62a9637d55816132c4c3c36eb", "size": 528, "annotations": { "annotationTest1": "annotationTest2" }, "platform": { "architecture": "amd64", "os": "linux" } } ] }, "docker": { "schemaVersion": 2, "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json", "manifests": [ { "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "size": 528, "digest": "sha256:9b2a28eb47540823042a2ba401386845089bb7b62a9637d55816132c4c3c36eb", "platform": { "architecture": "amd64", "os": "linux" } } ] } } ``` Closes: containers/podman#15069 Signed-off-by: Aditya R <[email protected]>
- Loading branch information