add sandbox_user_id to run command which is neccesary (#1641)

This commit is contained in:
AJ (@techfren)
2024-05-08 22:20:31 +10:00
committed by GitHub
parent 88ef414e3a
commit c2868985e4

View File

@@ -80,6 +80,7 @@ OpenDevin runs bash commands within a Docker sandbox, so it should not affect yo
```
docker run \
-e LLM_API_KEY \
-e SANDBOX_USER_ID=$(id -u) \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
-v $WORKSPACE_BASE:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \