From 31edf47285ca9d56cd838aaaf5dae2f5403f7ea1 Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Thu, 29 Nov 2018 09:55:15 -0500 Subject: Support podman image trust command Display the trust policy of the host system. The trust policy is stored in the /etc/containers/policy.json file and defines a scope of registries or repositories. Signed-off-by: Qi Wang --- libpod/runtime.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libpod/runtime.go') diff --git a/libpod/runtime.go b/libpod/runtime.go index 82473aae9..2dfebf565 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -877,3 +877,8 @@ func (r *Runtime) generateName() (string, error) { func (r *Runtime) ImageRuntime() *image.Runtime { return r.imageRuntime } + +// SystemContext returns the imagecontext +func (r *Runtime) SystemContext() *types.SystemContext { + return r.imageContext +} -- cgit v1.2.3-54-g00ecf