agent/taskresource/cgroup/control/init_linux.go
func (c *control) Init() error {
	seelog.Infof("Creating root ecs cgroup: %s", config.DefaultTaskCgroupPrefix)

	// Build cgroup spec
	cgroupSpec := &Spec{
		Root:  config.DefaultTaskCgroupPrefix,
		Specs: &specs.LinuxResources{},
	}
	_, err := c.Create(cgroupSpec)
	return err
}
func (c *control) Init() error {
	seelog.Infof("Creating root ecs cgroup: %s", config.DefaultTaskCgroupPrefix)

	// Build cgroup spec
	cgroupSpec := &Spec{
		Root:  config.DefaultTaskCgroupPrefix,
		Specs: &specs.LinuxResources{},
	}
	_, err := c.Create(cgroupSpec)
	return err
}
// Init is used to setup the cgroup root for ecs