Merge pull request #516 from Random-Liu/remove-default-rlimits
Remove default rlimits
This commit is contained in:
commit
750115c812
@ -747,6 +747,10 @@ func defaultRuntimeSpec(id string) (*runtimespec.Spec, error) {
|
|||||||
if spec.Linux != nil {
|
if spec.Linux != nil {
|
||||||
spec.Linux.Seccomp = nil
|
spec.Linux.Seccomp = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove default rlimits (See issue #515)
|
||||||
|
spec.Process.Rlimits = nil
|
||||||
|
|
||||||
return spec, nil
|
return spec, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user