buildah-images(1)
π buildah-images π
okay bestie, listen up β this is buildah-images, living in the General Commands Manual section, and it's literally the command you run when you wanna see what images are chillin' in your local storage. no cap. π
β¨ NAME β¨
buildah-images β list images in local storage. that's it, that's the whole job, and she does it flawlessly. π
πΈ SYNOPSIS πΈ
buildah images [options] [image]
π¦ DESCRIPTION π¦
So here's the tea: this bad boy displays all your locally stored images, showing off their names, sizes, created date and their IDs. main character energy fr fr. π
And the created date? It's displayed in the time locale of the local machine β so it speaks your machine's language, not some random timezone's. iykyk. πβ¨
π OPTIONS π
--all,-aβ show all the images, including the intermediate images that came from a build. the hidden lore. π«Ά--digestsβ show the image digests. receipts, basically. π§Ύ--filter,-f=[]β filter the output based on conditions provided (default is[]). now let's get into which filters, because there are a lot and they all slay:after,since=imageβ filter on images created since the given image.before=imageβ filter on images created before the given image.dangling=true|falseβ show dangling images. an image is considered to be dangling if it has no associated names and tags. it's giving orphan era. πid=idβ show the image with this specific ID.intermediate=true|falseβ show intermediate images. an image is considered to be an intermediate image if it is dangling and has no children. (yes, the original says "indermediate" β we keep the typo energy, we just don't repeat it, bestie π)label=key[=value]β filter by image labels, by key and/or value.readonly=true|falseβ show only read-only images, or Read/Write images. the default is to show both. Read/Only images can be configured by modifying the"additionalimagestores"in the/etc/containers/storage.conffile. πreference=referenceβ show images matching the specified reference. wildcards are supported (e.g.,"reference=fedora:3"). β¨
--format="TEMPLATE"β pretty-print images using a Go template. valid placeholders for the Go template are listed below, and every single one of them is iconic in her own way:.Createdβ Creation date in epoch time.CreatedAtβ Creation date Pretty Formatted.CreatedAtRawβ Creation date in raw format.Digestβ Image Digest.IDβ Image ID.Nameβ Image Name.ReadOnlyβ Indicates if image came from a R/O store.Sizeβ Image Size.Tagβ Image Tag
--historyβ display the image name history. the plot of the whole saga. π--jsonβ display the output in JSON format. for the machine besties. π€--no-truncβ do not truncate output. show me everything, no edits, no cuts. π₯--noheading,-nβ omit the table headings from the listing of images. minimalism, we love her. π--quiet,-qβ displays only the image IDs. just the essentials, no small talk. π
π EXAMPLE π
here's a lil buffet of things you can literally type right now:
buildah images
buildah images fedora:latest
buildah images --json
buildah images --quiet
buildah images -q --noheading --no-trunc
buildah images --quiet fedora:latest
buildah images --filter dangling=true
buildah images --format "ImageID: {{.ID}}"
and here's what actually comes out, verbatim, so you know what you're getting into:
$ buildah images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.access.redhat.com/ubi8 latest 53ce4390f2ad 3 weeks ago 233 MB
docker.io/library/busybox latest 16ea53ea7c65 3 weeks ago 1.46 MB
quay.io/libpod/testimage 20210610 9f9ec7f2fdef 4 months ago 7.99 MB
# buildah images -a
IMAGE NAME IMAGE TAG IMAGE ID CREATED AT SIZE
registry.access.redhat.com/ubi8 latest 53ce4390f2ad 3 weeks ago 233 MB
<none> <none> 8c6e16890c2b Jun 13, 2018 15:52 4.42 MB
localhost/test latest c0cfe75da054 Jun 13, 2018 15:52 4.42 MB
# buildah images --format '{{.ID}} {{.CreatedAtRaw}}'
3f53bb00af943dfdf815650be70c0fa7b426e56a66f5e3362b47a129d57d5991 2018-12-20 19:21:30.122610396 -0500 EST
8e09da8f6701d7cde1526d79e3123b0f1109b78d925dfe9f9bac6d59d702a390 2019-01-08 09:22:52.330623532 -0500 EST
# buildah images --format '{{.ID}} {{.Name}} {{.Digest}} {{.CreatedAt}} {{.Size}} {{.CreatedAtRaw}}'
3f53bb00af943dfdf815650be70c0fa7b426e56a66f5e3362b47a129d57d5991 docker.io/library/alpine sha256:3d2e482b82608d153a374df3357c0291589a61cc194ec4a9ca2381073a17f58e Dec 20, 2018 19:21 4.67 MB 2018-12-20 19:21:30.122610396 -0500 EST
8e09da8f6701d7cde1526d79e3123b0f1109b78d925dfe9f9bac6d59d702a390 <none> sha256:894532ec56e0205ce68ca7230b00c18aa3c8ee39fcdb310615c60e813057229c Jan 8, 2019 09:22 4.67 MB 2019-01-08 09:22:52.330623532 -0500 EST
π SEE ALSO π
go read these next, bestie, they're the whole friend group:
π that's the whole page! no details were harmed in the making of this rewrite β every flag, every filter, every placeholder, every example, exactly where it belongs. π«Ά
okay that's a wrap, bestie!! this lil page comes to you from buildah, dated March 2017, and it's filed under buildah-images(1) β go list some images, you absolute icon π
β¨π
π¦ where this page comes from
- centos-stream 10: buildah 2:1.45.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- centos-stream 9: buildah 2:1.43.2-3.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- debian trixie: buildah 1.39.3+ds1-1+b7 Β· Apache-2.0
- fedora 43: buildah 2:1.41.5-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: buildah 2:1.43.2-1.fc43
- fedora 43: buildah 2:1.43.4-1.fc43
- fedora 43: buildah 2:1.43.5-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: buildah 2:1.43.0-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: buildah 2:1.43.4-1.fc44
- fedora 44: buildah 2:1.43.5-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- ubuntu questing: buildah 1.39.3+ds1-1syncable1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms