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

wsl2 无法使用 #119

Open
shaohongwu opened this issue Aug 10, 2022 · 2 comments
Open

wsl2 无法使用 #119

shaohongwu opened this issue Aug 10, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@shaohongwu
Copy link

wsl2环境
docker 20.10.7

执行 ./run.sh scan-host、

提示:
docker: Error response from daemon: path / is mounted on / but it is not a shared mount.
See 'docker run --help'.

@shaohongwu shaohongwu added the bug Something isn't working label Aug 10, 2022
@d1nfinite
Copy link
Collaborator

执行 findmnt -o TARGET,PROPAGATION / 看看结果是啥

@aegistudio
Copy link

可能需要把 / 的挂载模式设置为 shared 才行,不然没法在容器内访问,即无法使用平行容器模式进行扫描。对于这种情况可以使用 mount --make-rshared / 来解决。

当然如果出于某种不知名的原因实在不想修改根文件系统的挂载模式的话,依然可以尝试直接在宿主机上运行问脉工具,只是比较折腾而已(需要直接在宿主机上安装 libveinmind 并按照相关文档的说明进行配置和运行)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants