Merge pull request #846 from mrunalp/fix_cgroup_config
Fix cgroup config
This commit is contained in:
commit
e5b5ffdeac
3 changed files with 20 additions and 45 deletions
|
@ -582,7 +582,6 @@ func (s *Server) createSandboxContainer(ctx context.Context, containerID string,
|
|||
cgPath = filepath.Join(parent, scopePrefix+"-"+containerID)
|
||||
}
|
||||
specgen.SetLinuxCgroupsPath(cgPath)
|
||||
sb.UpdateCgroupParent(parent)
|
||||
|
||||
capabilities := linux.GetSecurityContext().GetCapabilities()
|
||||
if privileged {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue