diff --git a/runtime/v1/shim/service.go b/runtime/v1/shim/service.go index 701dab435..56e7b74f3 100644 --- a/runtime/v1/shim/service.go +++ b/runtime/v1/shim/service.go @@ -546,7 +546,7 @@ func shouldKillAllOnExit(bundlePath string) (bool, error) { if bundleSpec.Linux != nil { for _, ns := range bundleSpec.Linux.Namespaces { - if ns.Type == specs.PIDNamespace { + if ns.Type == specs.PIDNamespace && ns.Path == "" { return false, nil } }