mirror of https://github.com/containers/podman.git
Properly initialize container OCI runtime
Use name of the default runtime, instead of the OCIRuntime config option, which may include a full path. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
parent
df43bfe53d
commit
2ee2404683
|
@ -94,7 +94,7 @@ func (r *Runtime) initContainerVariables(rSpec *spec.Spec, config *ContainerConf
|
|||
|
||||
ctr.config.StopTimeout = CtrRemoveTimeout
|
||||
|
||||
ctr.config.OCIRuntime = r.config.OCIRuntime
|
||||
ctr.config.OCIRuntime = r.defaultOCIRuntime.name
|
||||
|
||||
// Set namespace based on current runtime namespace
|
||||
// Do so before options run so they can override it
|
||||
|
|
Loading…
Reference in New Issue