We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
感谢分享,整个项目结构非常清晰。
我自己在测试的时候发现给容器指定的 rootfs 的目录不对,这里是代码连接
这里应该是 cmd.Dir = common.MntPath + containerName
cmd.Dir = common.MntPath + containerName
因为执行 mount -t aufs xxx 的时候,是挂载到了 mntPath下,这个值被设置为 mntPath := path.Join(common.MntPath, containerName), 代码连接
mount -t aufs xxx
mntPath
mntPath := path.Join(common.MntPath, containerName)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
感谢分享,整个项目结构非常清晰。
我自己在测试的时候发现给容器指定的 rootfs 的目录不对,这里是代码连接
这里应该是
cmd.Dir = common.MntPath + containerName
因为执行
mount -t aufs xxx
的时候,是挂载到了mntPath
下,这个值被设置为mntPath := path.Join(common.MntPath, containerName)
, 代码连接The text was updated successfully, but these errors were encountered: