@@ -53,6 +53,7 @@ version of Docker, `26.0.0`.
export WORKSPACE_BASE=$(pwd)/workspace;
docker run \
+ -it \
--pull=always \
-e SANDBOX_USER_ID=$(id -u) \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
@@ -79,6 +79,8 @@ OpenDevin runs bash commands within a Docker sandbox, so it should not affect yo
```
+ --pull=always \
-e LLM_API_KEY \
@@ -44,6 +44,8 @@ For example:
export WORKSPACE_BASE=$(pwd)/workspace
--add-host host.docker.internal:host-gateway \
-e LLM_API_KEY="ollama" \
@@ -8,6 +8,7 @@ export function Code() {
export WORKSPACE_BASE=$(pwd)/workspace`;
const dockerCode = `docker run \\
+ -it \\
--pull=always \\
-e SANDBOX_USER_ID=$(id -u) \\
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \\