podman-image-diff(1)
β¨ podman-image-diff(1) β¨
okay bestie, welcome to the podman-image-diff page from the General Commands Manual π this one's all about peeking at what changed inside an image's filesystem, and honestly? it's giving detective energy π
πΈ NAME πΈ
podman-image-diff β inspect changes on an image's filesystem π¦
π SYNOPSIS π
podman image diff [options] image [image]
β¨ DESCRIPTION β¨
So basically, this command displays changes on an image's filesystem. The image gets compared to its parent layer, OR to the second argument if you hand it one. Two images in, one little diff story out π
The output is prefixed with these symbols, and you're gonna want to know them by heart:
Aβ a file or directory was added β¨Dβ a file or directory was deleted πCβ a file or directory was changed π
π«Ά OPTIONS π«Ά
π --format
Alter the output into a different format. The only valid format for podman image diff is json. that's it, that's the whole menu, no cap π
π₯ EXAMPLES π₯
Display image differences from images parent layer:
$ podman image diff redis:old
C /usr
C /usr/local
C /usr/local/bin
A /usr/local/bin/docker-entrypoint.sh
Display image differences between two different images in JSON format:
$ podman image diff --format json redis:old redis:alpine
{
"changed": [
"/usr",
"/usr/local",
"/usr/local/bin"
],
"added": [
"/usr/local/bin/docker-entrypoint.sh"
]
}
π SEE ALSO π
podman(1), podman-image(1) β go read those too, they're iconic π
π§ HISTORY π§
August 2017, originally compiled by Ryan Cole rycole@redhat.com β¨mailto:rycole@redhat.comβ© β a true legend, we stan β
and that's the whole page, bestie!! this came to you from the podman-image-diff(1) manual, part of the General Commands Manual lineup, with its history dating all the way back to August 2017 π go forth and diff your images, you absolute main character ππ¦π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms