aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/images.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-16 09:38:49 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-16 16:08:08 +0000
commit445aaf87fae22fb38e68f2bc158e833fa58141bc (patch)
tree2e147e303225bff942b06390de76a154b458a73e /cmd/podman/images.go
parent57b910a03166edbb366112afd722c9cc000cbf1f (diff)
downloadpodman-445aaf87fae22fb38e68f2bc158e833fa58141bc.tar.gz
podman-445aaf87fae22fb38e68f2bc158e833fa58141bc.tar.bz2
podman-445aaf87fae22fb38e68f2bc158e833fa58141bc.zip
images --all developer note
podman does not implement --all for images intermediate images are only generated during the build process. they are children to the image once built. until buildah supports caching builds, it will not generate these intermediate images. Signed-off-by: baude <bbaude@redhat.com> Closes: #344 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/images.go')
-rw-r--r--cmd/podman/images.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/podman/images.go b/cmd/podman/images.go
index 540a5f4f3..3b41204f1 100644
--- a/cmd/podman/images.go
+++ b/cmd/podman/images.go
@@ -124,6 +124,14 @@ func imagesCmd(c *cli.Context) error {
referenceFilter := generateImagesFilter(params, "reference")
imageInputFilter := generateImagesFilter(params, "image-input")
+ /*
+ podman does not implement --all for images
+
+ intermediate images are only generated during the build process. they are
+ children to the image once built. until buildah supports caching builds,
+ it will not generate these intermediate images.
+ */
+
images, err := runtime.GetImages(params, labelFilter, beforeImageFilter, sinceImageFilter, danglingFilter, referenceFilter, imageInputFilter)
if err != nil {
return errors.Wrapf(err, "could not get list of images matching filter")