server: inherit rlimits from server
Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
This commit is contained in:
parent
b9c1d58b36
commit
1a01ca7251
1 changed files with 1 additions and 0 deletions
|
@ -317,6 +317,7 @@ func (s *Server) createSandboxContainer(ctx context.Context, containerID string,
|
|||
// creates a spec Generator with the default spec.
|
||||
specgen := generate.New()
|
||||
specgen.HostSpecific = true
|
||||
specgen.ClearProcessRlimits()
|
||||
|
||||
if err := addOCIBindMounts(sb, containerConfig, &specgen); err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in a new issue