From edd1da85917f8f7cfd4bea6805d6a987acd81968 Mon Sep 17 00:00:00 2001 From: Kenfe-Mickael Laventure Date: Tue, 29 Aug 2017 08:25:05 -0700 Subject: [PATCH] Use configured runtime when cleaning up after dead shim Signed-off-by: Kenfe-Mickael Laventure --- linux/runtime.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/linux/runtime.go b/linux/runtime.go index ecb14e4cb..a2e09d527 100644 --- a/linux/runtime.go +++ b/linux/runtime.go @@ -405,9 +405,7 @@ func (r *Runtime) getRuntime(ctx context.Context, ns, id string) (*runc.Runc, er return nil, err } return &runc.Runc{ - // TODO: until we have a way to store/retrieve the original command - // we can only rely on runc from the default $PATH - Command: runc.DefaultCommand, + Command: r.runtime, LogFormat: runc.JSON, PdeathSignal: unix.SIGKILL, Root: filepath.Join(client.RuncRoot, ns),