Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Replace all instances of OPENDEVIN_WORKSPACE with WORKSPACE_BASE (#2418)

Graham Neubig48a2f24bf431
diff --git a/README.md b/README.md
index a5d42224ad..3da5d133cf 100644
--- a/README.md
+++ b/README.md
@@ -55,14 +55,14 @@ To start OpenDevin in a docker container, run the following commands in your ter
> When you run the following command, files in `./workspace` may be modified or deleted.
```bash
-OPENDEVIN_WORKSPACE=$(pwd)/workspace
+WORKSPACE_BASE=$(pwd)/workspace
docker run -it \
--pull=always \
-e SANDBOX_USER_ID=$(id -u) \
-e PERSIST_SANDBOX="true" \
-e SSH_PASSWORD="make something up here" \
- -e WORKSPACE_MOUNT_PATH=$OPENDEVIN_WORKSPACE \
- -v $OPENDEVIN_WORKSPACE:/opt/workspace_base \
+ -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
+ -v $WORKSPACE_BASE:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 3000:3000 \
--add-host host.docker.internal:host-gateway \
diff --git a/docs/modules/usage/intro.mdx b/docs/modules/usage/intro.mdx
index b4b1afeba2..ae295dc901 100644
--- a/docs/modules/usage/intro.mdx
+++ b/docs/modules/usage/intro.mdx
@@ -68,14 +68,14 @@ When you run the following command, files in `./workspace` may be modified or de
:::
```bash
-OPENDEVIN_WORKSPACE=$(pwd)/workspace
+WORKSPACE_BASE=$(pwd)/workspace
docker run -it \
--pull=always \
-e SANDBOX_USER_ID=$(id -u) \
-e PERSIST_SANDBOX="true" \
-e SSH_PASSWORD="make something up here" \
- -e WORKSPACE_MOUNT_PATH=$OPENDEVIN_WORKSPACE \
- -v $OPENDEVIN_WORKSPACE:/opt/workspace_base \
+ -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
+ -v $WORKSPACE_BASE:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 3000:3000 \
--add-host host.docker.internal:host-gateway \