Merge pull request #516 from Random-Liu/remove-default-rlimits

Remove default rlimits
This commit is contained in:
Lantao Liu
2018-01-02 11:54:48 -08:00
committed by GitHub

View File

@@ -747,6 +747,10 @@ func defaultRuntimeSpec(id string) (*runtimespec.Spec, error) {
if spec.Linux != nil {
spec.Linux.Seccomp = nil
}
// Remove default rlimits (See issue #515)
spec.Process.Rlimits = nil
return spec, nil
}