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

如何在非root帐号运行的Docker容器中使用mdout #51

Open
scwcd opened this issue Nov 13, 2024 · 0 comments
Open

如何在非root帐号运行的Docker容器中使用mdout #51

scwcd opened this issue Nov 13, 2024 · 0 comments

Comments

@scwcd
Copy link

scwcd commented Nov 13, 2024

我将mdout工具集成到应用Docker镜像中,因为公司要求生成环境不允许Docker容器以root帐号运行,所以mdout无法正常运行,错误信息:

Error: chrome failed to start:
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[39:39:1113/113923.046008:FATAL:zygote_host_impl_linux.cc(207)] Check failed: . : Operation not permitted (1)

虽然可以添加 --privileged=true 容器运行参数解决这个问题,但是公司安全规定不允许这么做。

在网上搜索好像启动Chrome时添加 “--no-sandbox” 可以解决,但不知mdout能否支持?

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