podman-artifact-inspect(1)
π NAME π
Okay bestie, welcome to podman-artifact-inspect(1) from the General Commands Manual β this is literally the page for inspecting an OCI artifact. Thatβs the whole vibe: inspect an OCI artifact, slay.
β¨ SYNOPSIS β¨
podman artifact inspect name
π¦ DESCRIPTION π¦
Inspect an artifact in the local store and output the results in JSON format. You can refer to the artifact with either:
- Fully qualified artifact name
- Full or partial digest of the artifact's manifest
The inspect output includes the artifact manifest with annotations. All artifacts automatically include a creation timestamp in the org.opencontainers.image.created annotation using RFC3339Nano format, showing when the artifact was initially created. No cap.
π OPTIONS π
--format, -f=formatβ Format the output using the given Go template. The keys of the returned JSON can be used as the values for the--formatflag (see examples below).
Valid placeholders for the Go template are listed below:
.Artifact ...β Artifact details (nested struct).Digestβ Artifact digest (sha256:+64-char hash).Manifest ...β Artifact manifest details (struct).Nameβ Artifact name (string).TotalSizeBytesβ Total Size of the artifact in bytes
πΈ EXAMPLES πΈ
Inspect an OCI image in the local store:
$ podman artifact inspect quay.io/myartifact/mytxt:latest
{
"Manifest": {
"schemaVersion": 2,
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.empty.v1+json",
"digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
"size": 2,
"data": "e30="
},
"layers": [
{
"mediaType": "text/plain; charset=utf-8",
"digest": "sha256:f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2",
"size": 5,
"annotations": {
"org.opencontainers.image.title": "foobar.txt"
}
}
]
},
"Name": "quay.io/myartifact/mytxt:latest",
"Digest": "sha256:6c28fa07a5b0a1cee29862c1f6ea38a66df982495b14da2c052427eb628ed8c6"
}
Inspect artifact digest for the specified artifact:
$ podman artifact inspect quay.io/myartifact/mytxt:latest --format {{.Digest}}
sha256:6c28fa07a5b0a1cee29862c1f6ea38a66df982495b14da2c052427eb628ed8c6
π«Ά SEE ALSO π«Ά
Go check out podman(1) and podman-artifact(1) too β iykyk.
π HISTORY π
Sept 2024 β Originally compiled by Brent Baude bbaude@redhat.com β¨mailto:bbaude@redhat.comβ©. Iconic.
Thatβs the page, bestie β podman-artifact-inspect(1) from the General Commands Manual, dated Sept 2024. Bye! π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms