oci: join crio-conmon for cgroupfs

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-08-29 19:09:59 +02:00
parent dd2b4a8907
commit c199f63dba
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
31 changed files with 3013 additions and 5 deletions

View file

@ -487,6 +487,7 @@ 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()
toCAPPrefixed := func(cap string) string {