enable runc debug in shim

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2018-04-26 11:11:31 -04:00
parent a70e26c64f
commit 530849fed4

View File

@ -510,6 +510,7 @@ func (r *Runtime) getRuntime(ctx context.Context, ns, id string) (*runc.Runc, er
LogFormat: runc.JSON, LogFormat: runc.JSON,
PdeathSignal: unix.SIGKILL, PdeathSignal: unix.SIGKILL,
Root: filepath.Join(root, ns), Root: filepath.Join(root, ns),
Debug: r.config.ShimDebug,
}, nil }, nil
} }