Docker: precreate identity dir in docker setup

This commit is contained in:
Vignesh Natarajan
2026-02-22 16:33:02 -08:00
parent 70dd6a30e7
commit f0542df9f0
3 changed files with 20 additions and 1 deletions

View File

@@ -82,6 +82,9 @@ fi
mkdir -p "$OPENCLAW_CONFIG_DIR"
mkdir -p "$OPENCLAW_WORKSPACE_DIR"
# Seed device-identity parent eagerly for Docker Desktop/Windows bind mounts
# that reject creating new subdirectories from inside the container.
mkdir -p "$OPENCLAW_CONFIG_DIR/identity"
export OPENCLAW_CONFIG_DIR
export OPENCLAW_WORKSPACE_DIR