sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

Openclaw Supported Configuration

Open xianliang66 opened this issue 7 months ago • 1 comments

I tried OpenClaw inside Sandlock,

./target/release/sandlock run  -w /home/claw/.openclaw/ -r /usr/ -r /lib -r /etc -w /tmp -r /usr/lib -r /etc  -- openclaw gateway --port 18789

which ends with:

🦞 OpenClaw 2026.3.23-2 (7ffe7e4) — If you can describe it, I can probably automate it—or at least make it funnier.

07:53:47 [gateway] [plugins] plugins.allow is empty; discovered non-bundled plugins may auto-load: dingtalk (/home/claw/.openclaw/extensions/dingtalk/index.ts). Set plugins.allow to explicit trusted ids.
07:53:49 Gateway failed to start: Error: gateway bind=loopback resolved to non-loopback host 0.0.0.0; refusing fallback to a network bind

The log:

{"0":"Gateway failed to start: Error: gateway bind=loopback resolved to non-loopback host 0.0.0.0; refusing fallback to a network bind","_meta":{"runtime":"node","runtimeVersion":"22.22.1","hostname":"unknown","name":"openclaw","date":"2026-04-13T07:51:50.700Z","logLevelId":5,"logLevelName":"ERROR","path":{"fullFilePath":"file:///usr/lib/node_modules/openclaw/dist/subsystem-DISldKSB.js:281:68","fileName":"subsystem-DISldKSB.js","fileNameWithLine":"subsystem-DISldKSB.js:281","fileColumn":"68","fileLine":"281","filePath":"/usr/lib/node_modules/openclaw/dist/subsystem-DISldKSB.js","filePathWithLine":"/usr/lib/node_modules/openclaw/dist/subsystem-DISldKSB.js:281","method":"console.error"}},"time":"2026-04-13T07:51:50.700+00:00"}

OS: 22.04.5 LTS (Jammy Jellyfish) OpenClaw: 2026.3.23-2 Linux: 6.18.22 Sandlock: Commit at a8a561e295ac00096d1e4649c89bd864dce6e25c

Any suggestion on configuration, or is this a bug?

xianliang66 avatar Apr 13 '26 08:04 xianliang66

Thanks for the report. I have submitted a PR for this: https://github.com/multikernel/sandlock/pull/15

congwang-mk avatar Apr 15 '26 13:04 congwang-mk