File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ docker run \
6464 -v $WORKSPACE_BASE :/opt/workspace_base \
6565 -v /var/run/docker.sock:/var/run/docker.sock \
6666 -p 3000:3000 \
67- --add-host host.docker.internal= host-gateway \
67+ --add-host host.docker.internal: host-gateway \
6868 ghcr.io/opendevin/opendevin:0.5
6969```
7070
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ docker run \
8484 -v $WORKSPACE_BASE:/opt/workspace_base \
8585 -v /var/run/docker.sock:/var/run/docker.sock \
8686 -p 3000:3000 \
87- --add-host host.docker.internal= host-gateway \
87+ --add-host host.docker.internal: host-gateway \
8888 ghcr.io/opendevin/opendevin:0.5
8989```
9090
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Use the instructions [here](../intro) to start OpenDevin using Docker.
3232But when running ` docker run ` , you'll need to add a few more arguments:
3333
3434``` bash
35- --add-host host.docker.internal= host-gateway \
35+ --add-host host.docker.internal: host-gateway \
3636-e LLM_API_KEY=" ollama" \
3737-e LLM_BASE_URL=" http://host.docker.internal:11434" \
3838```
@@ -44,7 +44,7 @@ For example:
4444export WORKSPACE_BASE=$( pwd) /workspace
4545
4646docker run \
47- --add-host host.docker.internal= host-gateway \
47+ --add-host host.docker.internal: host-gateway \
4848 -e SANDBOX_USER_ID=$( id -u) \
4949 -e LLM_API_KEY=" ollama" \
5050 -e LLM_BASE_URL=" http://host.docker.internal:11434" \
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ See our guide for [local LLMs](llms/localLLMs) for more information.
8989
9090- Check your ` LLM_BASE_URL `
9191- Check that ollama is running OK
92- - Make sure you're using ` --add-host host.docker.internal= host-gateway ` when running in docker
92+ - Make sure you're using ` --add-host host.docker.internal: host-gateway ` when running in docker
9393
9494## 404 Resource not found
9595### Symptoms
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export WORKSPACE_BASE=$(pwd)/workspace`;
1414 -v $WORKSPACE_BASE:/opt/workspace_base \\
1515 -v /var/run/docker.sock:/var/run/docker.sock \\
1616 -p 3000:3000 \\
17- --add-host host.docker.internal= host-gateway \\
17+ --add-host host.docker.internal: host-gateway \\
1818 ghcr.io/opendevin/opendevin:0.5` ;
1919
2020 return (
You can’t perform that action at this time.
0 commit comments