diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-01-30 10:41:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-30 10:41:10 +0100 |
commit | 76019c31f535c6473e5f7d645cf42ca4477e2c33 (patch) | |
tree | e2d595054ce380b5074bf0217e0c405ded94178a /libpod/adapter/runtime.go | |
parent | ad5579e1d9905996612dd135467ee2ee5f62b7d3 (diff) | |
parent | 656033ca969477ed809cbed57e752f959899d4f8 (diff) | |
download | podman-76019c31f535c6473e5f7d645cf42ca4477e2c33.tar.gz podman-76019c31f535c6473e5f7d645cf42ca4477e2c33.tar.bz2 podman-76019c31f535c6473e5f7d645cf42ca4477e2c33.zip |
Merge pull request #2205 from baude/prunelikedocker
podman image prune -- implement all flag
Diffstat (limited to 'libpod/adapter/runtime.go')
-rw-r--r-- | libpod/adapter/runtime.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/adapter/runtime.go b/libpod/adapter/runtime.go index 1f3599082..f4961437e 100644 --- a/libpod/adapter/runtime.go +++ b/libpod/adapter/runtime.go @@ -99,3 +99,8 @@ func (r *LocalRuntime) LookupContainer(idOrName string) (*Container, error) { } return &Container{ctr}, nil } + +// PruneImages is wrapper into PruneImages within the image pkg +func (r *LocalRuntime) PruneImages(all bool) ([]string, error) { + return r.ImageRuntime().PruneImages(all) +} |