mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
add docker image docs (#263)
This commit is contained in:
@@ -26,6 +26,11 @@ First, make sure Docker is running:
|
||||
```bash
|
||||
docker ps # this should exit successfully
|
||||
```
|
||||
Then pull our latest image [here](https://hub.docker.com/r/opendevin/sandbox/tags)
|
||||
```bash
|
||||
docker pull opendevin/sandbox:v0.1
|
||||
```
|
||||
|
||||
Then start the backend:
|
||||
```bash
|
||||
export OPENAI_API_KEY="..."
|
||||
|
||||
@@ -25,6 +25,11 @@ Example screenshot:
|
||||
docker build -f opendevin/sandbox/Dockerfile -t opendevin/sandbox:v0.1 .
|
||||
```
|
||||
|
||||
Or you can pull the latest image [here](https://hub.docker.com/r/opendevin/sandbox/tags):
|
||||
```bash
|
||||
docker pull opendevin/sandbox:v0.1
|
||||
```
|
||||
|
||||
2. Set the `OPENAI_API_KEY`, please find more details [here](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety). Also, choose the model you want. Default is `gpt-4-0125-preview`
|
||||
```bash
|
||||
export OPENAI_API_KEY=xxxxxxx
|
||||
|
||||
Reference in New Issue
Block a user