Closed guozhao-coder closed 1 year ago
I think you forgot to add the pid parameter, which also resulted in the inability to enter the container's mnt namespace
func getMountNs(pid int) int { fname := fmt.Sprintf("/proc/%d/ns/mnt") //here
I think you forgot to add the pid parameter, which also resulted in the inability to enter the container's mnt namespace