From 7279ff91c42d4fcb7460c3fb0dcff0fed1bddc15 Mon Sep 17 00:00:00 2001 From: Kenfe-Mickael Laventure Date: Mon, 2 May 2016 14:01:48 -0700 Subject: [PATCH] Add missing shim value when saving container state.json (containerd) Signed-off-by: Kenfe-Mickael Laventure --- runtime/container.go | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/container.go b/runtime/container.go index aced304..d2ba13d 100644 --- a/runtime/container.go +++ b/runtime/container.go @@ -130,6 +130,7 @@ func New(opts ContainerOpts) (Container, error) { Labels: c.labels, Runtime: c.runtime, RuntimeArgs: c.runtimeArgs, + Shim: c.shim, NoPivotRoot: opts.NoPivotRoot, }); err != nil { return nil, err