渲染器常见问题
Running as root without --no-sandbox is not supported.
描述
启动失败时,可能会提示Running as root without --no-sandbox is not supported.(不支持以root用户运行,请添加--no-sandbox参数)。
触发条件
以root用户身份运行EasyBot时,可能会触发该错误。
错误解释
在 Docker 或非-特权用户(ns)环境中,常需要加 --no-sandbox 或 --disable-setuid-sandbox 参数。
当用 sudo 或以 root 身份启动时,浏览器(Chromium/Chrome)内建的沙箱机制可能被绕过或不被允许:Chrome 会检测 “Running as root without --no-sandbox is not supported.” 这类情况。
解决方法
- 以普通用户身份运行 EasyBot