'\" t .nh .TH buildah-images "1" "March 2017" "buildah" .SH NAME .PP buildah-images - List images in local storage. .SH SYNOPSIS .PP \fBbuildah images\fP [\fIoptions\fP] [\fIimage\fP] .SH DESCRIPTION .PP Displays locally stored images, their names, sizes, created date and their IDs. The created date is displayed in the time locale of the local machine. .SH OPTIONS .PP \fB--all\fP, \fB-a\fP .PP Show all images, including intermediate images from a build. .PP \fB--digests\fP .PP Show the image digests. .PP \fB--filter\fP, \fB-f\fP=[] .PP Filter output based on conditions provided (default []). .PP Filters: .PP \fBafter,since=image\fP Filter on images created since the given image. .PP \fBbefore=image\fP Filter on images created before the given image. .PP \fBdangling=true|false\fP Show dangling images. An images is considered to be dangling if it has no associated names and tags. .PP \fBid=id\fP Show image with this specific ID. .PP \fBintermediate=true|false\fP Show intermediate images. An images is considered to be an indermediate image if it is dangling and has no children. .PP \fBlabel=key[=value]\fP Filter by images labels key and/or value. .PP \fBreadonly=true|false\fP 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.conf file. .PP \fBreference=reference\fP Show images matching the specified reference. Wildcards are supported (e.g., "reference=\fIfedora:3\fP"). .PP \fB--format\fP="TEMPLATE" .PP Pretty-print images using a Go template. .PP Valid placeholders for the Go template are listed below: .TS allbox; l l l l . \fB\fBPlaceholder\fP\fP \fB\fBDescription\fP\fP \&.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 T{ Indicates if image came from a R/O store T} \&.Size Image Size \&.Tag Image Tag .TE .PP \fB--history\fP .PP Display the image name history. .PP \fB--json\fP .PP Display the output in JSON format. .PP \fB--no-trunc\fP .PP Do not truncate output. .PP \fB--noheading\fP, \fB-n\fP .PP Omit the table headings from the listing of images. .PP \fB--quiet\fP, \fB-q\fP .PP Displays only the image IDs. .SH EXAMPLE .PP buildah images .PP buildah images fedora:latest .PP buildah images --json .PP buildah images --quiet .PP buildah images -q --noheading --no-trunc .PP buildah images --quiet fedora:latest .PP buildah images --filter dangling=true .PP buildah images --format "ImageID: {{.ID}}" .EX $ 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 .EE .EX # buildah images -a IMAGE NAME IMAGE TAG IMAGE ID CREATED AT SIZE registry.access.redhat.com/ubi8 latest 53ce4390f2ad 3 weeks ago 233 MB 8c6e16890c2b Jun 13, 2018 15:52 4.42 MB localhost/test latest c0cfe75da054 Jun 13, 2018 15:52 4.42 MB .EE .EX # 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 .EE .EX # 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 sha256:894532ec56e0205ce68ca7230b00c18aa3c8ee39fcdb310615c60e813057229c Jan 8, 2019 09:22 4.67 MB 2019-01-08 09:22:52.330623532 -0500 EST .EE .SH SEE ALSO .PP buildah(1), containers-storage.conf(5)