Skip to content

Update docker.md #4333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can run a Chroma server in a Docker container, and access it using the `Http
To start the server, run:

```terminal
docker run -v ./chroma-data:/data -p 8000:8000 chromadb/chroma
docker run -v ./chroma-data:/chroma/chroma -p 8000:8000 chromadb/chroma
```

This starts the server with the default configuration and stores data in `./chroma-data` (in your current working directory).
Expand Down Expand Up @@ -71,7 +71,7 @@ To use a custom config file, mount it into the container at `/config.yaml` like

```terminal
echo "allow_reset: true" > config.yaml # the server will now allow clients to reset its state
docker run -v ./chroma-data:/data -v ./config.yaml:/config.yaml -p 8000:8000 chromadb/chroma
docker run -v ./chroma-data:/chroma/chroma -v ./config.yaml:/config.yaml -p 8000:8000 chromadb/chroma
```

## Observability with Docker
Expand Down Expand Up @@ -133,7 +133,7 @@ services:
server:
image: chromadb/chroma
volumes:
- chroma_data:/data
- chroma_data:/chroma/chroma
ports:
- "8000:8000"
networks:
Expand Down