-
-
Notifications
You must be signed in to change notification settings - Fork 52.5k
Description
Summary
Describe the bug
On Windows 11 with Docker Desktop, the CLI container cannot create the identity directory due to permission denied errors, making it impossible to use any CLI commands.
Version
OpenClaw 2026.2.22
Steps to Reproduce
Install OpenClaw via docker-setup.sh on Windows 11
Run any CLI command: docker compose run --rm openclaw-cli devices list
See error
Expected behavior
CLI connects to gateway and lists devices normally.
Error
EACCES: permission denied, mkdir '/home/node/.openclaw/identity'
What I tried
Named volume (openclaw_home) with alpine chown -R 1000:1000
user: "1000:1000" in override.yml
Bind mount C:\Users\USER.openclaw:/home/node/.openclaw
OPENCLAW_HOME env variable
entrypoint fix with mkdir + chown before startup
All approaches fail with same error
Environment
OS: Windows 11
Docker Desktop: latest
Install method: docker-setup.sh
Steps to reproduce
- Install OpenClaw on Windows 11 via bash docker-setup.sh
- Complete onboarding wizard
- Run docker compose run --rm openclaw-cli devices list
- Error appears immediately
Expected behavior
CLI connects to gateway and lists devices normally without permission errors.
Actual behavior
CLI fails immediately with:
EACCES: permission denied, mkdir '/home/node/.openclaw/identity'
Tried the following fixes, all fail with same error:
Named volume (openclaw_home) with alpine chown -R 1000:1000
user: "1000:1000" in docker-compose.override.yml
Bind mount C:\Users\USER.openclaw:/home/node/.openclaw
OPENCLAW_HOME env variable
entrypoint fix with mkdir + chown before startup
OpenClaw version
2026.2.22
Operating system
Windows 11, Docker Desktop (latest)
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response