Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

感谢作者这个项目,让我收获满满;但同时,有几处地方有错误,或者是有不兼容,为此特地指出。 #13

Open
fy403 opened this issue Jun 14, 2021 · 0 comments

Comments

@fy403
Copy link

fy403 commented Jun 14, 2021

/container/process.go
修正为

// 指定容器初始化后的工作目录
        // cmd.Dir = common.MntPath
        cmd.Dir = path.Join(common.MntPath, containerName)

/container/workspace.go
如果提示xino问题,则需要使用下列方式

//! mount -t aufs -o noxino,dirs=/root/writeLayer/test:/root/busybox none /root/mnt/test
	dirs := fmt.Sprintf("noxino,dirs=%s:%s", writeLayPath, imagePath)
	cmd := exec.Command("mount", "-t", "aufs", "-o", dirs, "none", mntPath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant