mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
config: store the runtime used to create each container
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -62,6 +62,8 @@ func (r *Runtime) newContainer(ctx context.Context, rSpec *spec.Spec, options ..
|
||||
|
||||
ctr.config.StopTimeout = CtrRemoveTimeout
|
||||
|
||||
ctr.config.OCIRuntime = r.config.OCIRuntime
|
||||
|
||||
// Set namespace based on current runtime namespace
|
||||
// Do so before options run so they can override it
|
||||
if r.config.Namespace != "" {
|
||||
|
Reference in New Issue
Block a user