Skip to content

Containers chroma and ollama marked unhealthy due to missing wget/curl for health check #28

@Harsh-Desaii

Description

@Harsh-Desaii

Bug Description

When running the multimind stack using Docker Compose, the containers chroma and ollama are marked as unhealthy. Due to this, the multimind container remains in Created state and does not start.

This seems to be caused by the health check commands relying on wget/curl, which is missing from the base images used for chroma and ollama.

To Reproduce

Steps to reproduce the behavior:

  1. Clone the project and run docker-compose up.
  2. Wait for the containers to start.
  3. Run docker ps and check the STATUS column.
  4. Run docker inspect --format="{{json .State.Health}}" <container> on chroma and ollama.

Expected Behavior

The health checks should pass if the services are correctly running, and the multimind container should start.

Screenshots

Container Health Error Screenshot

Error Message

"OCI runtime exec failed: exec failed: unable to start container process: exec: \"wget\": executable file not found in $PATH: unknown"

Health check log from `docker inspect`:
{
  "Status": "unhealthy",
  "Log": [
    {
      "Start": "2025-06-24T10:11:12.533116792Z",
      "End": "2025-06-24T10:12:42.622835929Z",
      "ExitCode": -1,
      "Output": "OCI runtime exec failed: exec failed: unable to start container process: exec: \"wget\": executable file not found in $PATH: unknown"
    }
  ]
}

## Code Snippet
chroma:
    image: chromadb/chroma:latest
    ports:
      - "8001:8000"
    volumes:
      - chroma_data:/chroma/chroma
    environment:
      - ALLOW_RESET=true
      - ANONYMIZED_TELEMETRY=false
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/heartbeat"]
      interval: 30s
      timeout: 10s
      retries: 3
    restart: unless-stopped

  ollama:
    image: ollama/ollama:latest
    ports:
      - "11434:11434"
    volumes:
      - ollama_data:/root/.ollama
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:11434/api/version"]
      interval: 30s
      timeout: 10s
      retries: 3
    restart: unless-stopped


## Additional Context
Add any other context about the problem here.

## Checklist
- [ ] I have searched the [existing issues](https://github.com/multimind-dev/multimind-sdk/issues) for similar bugs
- [ ] I have checked the [documentation](https://multimind-sdk.readthedocs.io/) for relevant information
- [ ] I have provided a minimal reproducible example
- [ ] I have included all relevant environment details
- [ ] I have added appropriate labels to this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions