Merge pull request #846 from mrunalp/fix_cgroup_config

Fix cgroup config
This commit is contained in:
Antonio Murdaca 2017-09-07 19:04:25 +02:00 committed by GitHub
commit e5b5ffdeac
3 changed files with 20 additions and 45 deletions

View file

@ -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 {