diff --git a/container/container.go b/container/container.go index ff988996cadc013ea3aae0f60f5d9b6316bdeb6a..fba75f29b4d5f37b5aa82a18449032a7f1c9e6e7 100644 --- a/container/container.go +++ b/container/container.go @@ -151,8 +151,8 @@ func (c *Container) GetCgroupPath() (string, error) { cgroupPath = cgroupPath[1 : len(cgroupPath)-1] } if cgroupPath == "" { - // by default, the cgroup path is "/lxc/" - cgroupPath = "/lxc" + // by default, the cgroup path is "/isulad/" + cgroupPath = "/isulad" } cgroupPath = filepath.Join(cgroupPath, c.containerID) return cgroupPath, nil diff --git a/hack/syscontainer-tools.spec b/hack/syscontainer-tools.spec index 4845e40f8dd014a47974a4d9d69f39841586b8f9..9cc688d086ac76bca1d3e3d4a551af2395b18e94 100644 --- a/hack/syscontainer-tools.spec +++ b/hack/syscontainer-tools.spec @@ -4,7 +4,7 @@ #Basic Information Name: syscontainer-tools Version: v0.9 -Release: 35 +Release: 36 Summary: syscontainer tools for IT, work with iSulad License: Mulan PSL v1 URL: https://gitee.com/src-openeuler/syscontainer-tools