OS: macOS Tahoe 26.2
Chip/Memory: M2 Max/64GB
I am trying to run openclaw on docker. I cloned the repo and ran ./docker-setup.sh. I did the full setup, with local gateway/LAN (0.0.0.0:18789) using OpenAI free API key for testing. I skipped agents/skills setup, and the script finished. Then, I used docker compose to start the gateway. Here I run into the following problems:
the openclaw-cli container does not connect to the gateway with a token mismatch error. The token was auto generated by the setup script.
The control UI shows a keys-mismatch error if I maunally paste the key in ~/.openclaw/openclaw.json
The key in ~/.openclaw/openclaw.json matches the key in /home/node/.openclaw.json in the gateway container
I deleted the container and images (using docker system prune -a --volumes) , removed !/.openclaw on the mac and reran docker-setup.sh several times on the mac - but keep running into this problem every time. Before trying to run on docker, I did set up openclaw using the native install script, and then uninstalled it because of security issues.
Where can the container be picking up another token? I have tried grepping (grep -rin OPENCLAW_GATEWAY_TOKEN) in the ~/.openclaw and the openclaw git directories without seeing anything that appeared odd to me. Any ideas how to troubleshoot this?