Skip to content

[Install issue]: Docker container does not start uvicorn #5413

@radovanZRasa

Description

@radovanZRasa

What happened?

I tried to run chroma as a docker container with command listed in official docs:

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

but chroma does not start uvicorn and I cannot interact with it.
Here is a log from a container:

==========
persist_path: "/data"

==========



                (((((((((    (((((####
             ((((((((((((((((((((((#########
           ((((((((((((((((((((((((###########
         ((((((((((((((((((((((((((############
        (((((((((((((((((((((((((((#############
        (((((((((((((((((((((((((((#############
         (((((((((((((((((((((((((##############
         ((((((((((((((((((((((((##############
           (((((((((((((((((((((#############
             ((((((((((((((((##############
                (((((((((    #########

Saving data to: /data
Connect to Chroma at: http://localhost:8000
Getting started guide: https://docs.trychroma.com/docs/overview/getting-started

☁️ To deploy your DB - try Chroma Cloud!
- Sign up: https://trychroma.com/signup
- Docs: https://docs.trychroma.com/cloud/getting-started
- Copy your data to Cloud: chroma copy --to-cloud --all

OpenTelemetry is not enabled because it is missing from the config.

I also tried to run other versions of chroma 1.0.20, 1.0.19 and they all have the same issue.
I tried to run Chroma as a Docker container on MacOS 15.6.1 (Sequoia) and on Ubuntu 22.04. So I tried both arm64 and amd64 images.

I tried to connect to it with following client code (Python):

    import chromadb

    chroma_client = chromadb.HttpClient(host='localhost', port=8000)
    data = chroma_client.heartbeat()
    print("ChromaDB is reachable:", data)

Am I running the image in a wrong way?

Versions

Chroma latet, 1.0.20, 1.0.19.
OS: Mac OS 15.6.1 (Sequoia) and Ubuntu 22.04.
Image platforms: arm64 and amd64.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions