diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-01-15 07:49:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-15 07:49:55 -0800 |
commit | 077156d45cfea915cc249e92a5a45280e5ed71e1 (patch) | |
tree | 10dcf43431d1830c2d9c43bc33f46317ba5bf7c7 /libpod/adapter/runtime.go | |
parent | 500fb2ca4c23288f5086d0ceede7166d3d376c1f (diff) | |
parent | f9f72823ad5f773ee50b9e438c922a9cf0f3edcb (diff) | |
download | podman-077156d45cfea915cc249e92a5a45280e5ed71e1.tar.gz podman-077156d45cfea915cc249e92a5a45280e5ed71e1.tar.bz2 podman-077156d45cfea915cc249e92a5a45280e5ed71e1.zip |
Merge pull request #2156 from baude/remotermi
podman remote client -- add rmi
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 9ce850aaa..883ae2c76 100644 --- a/libpod/adapter/runtime.go +++ b/libpod/adapter/runtime.go @@ -80,3 +80,8 @@ func (r *LocalRuntime) New(ctx context.Context, name, signaturePolicyPath, authf } return &ContainerImage{img}, nil } + +// RemoveImage calls into local storage and removes an image +func (r *LocalRuntime) RemoveImage(ctx context.Context, img *ContainerImage, force bool) (string, error) { + return r.Runtime.RemoveImage(ctx, img.Image, force) +} |