Chroma on Docker vs Kubernetes vs VMs

Chroma on Docker, Kubernetes or a VM depends on who will own upgrades, storage and recovery, and on what your team already operates. This page sets out when each option fits and what to confirm before you commit.

On this page

Which Chroma deployment fits your team: Docker, Kubernetes or VMs

The right way to package Chroma depends on who will own upgrades, storage and recovery, and on what your team already operates. Decide who answers for each of those three jobs before you choose Docker, Kubernetes or a virtual machine, because packaging changes how the work is done, not who does it. The Chroma mode narrows the field more than packaging does. Single-node local Chroma and distributed Chroma rely on different storage subsystems, and local Chroma may temporarily lack features available in the distributed system. Check the mode against your requirements in Chroma's open source overview first. If you would rather hand the operating burden to a provider, Chroma Cloud is the managed alternative, covered on its own sibling page.

Docker fits a small team that wants one documented server process on a host it controls. Chroma is Apache 2.0 licensed, and its client-server mode starts with chroma run --path, so a single container with a persistent volume mounted at that path is a simple starting point. The condition is a named person who patches the host, snapshots the volume and tests a restore. Kubernetes fits a platform team that already runs clusters, storage classes and monitoring. It makes sense when the team can give Chroma a persistent volume from a storage class it trusts, connect its health and metrics to existing alerting, and roll out upgrades through the change process used for other stateful services. Without those pieces, Kubernetes adds a layer that someone must own.

Virtual machines fit an infrastructure team whose patching, backup and access controls are built around hypervisors. Chroma then becomes one more service on a guest that already passes through those controls, and recovery can use the snapshot and backup tooling the team trusts. The condition is a clear owner for the Chroma install and its upgrades. Chroma's README says tagged PyPI and npm packages ship on Mondays, with hotfixes at any time, so your change process needs room for unscheduled patches. Before you decide, confirm three things with your own team: who applies Chroma upgrades inside your change window, where the data directory lives and how it is restored, and whether your access logs can cover the vector store.

How Chroma on Docker, Kubernetes and VMs compares by factor

This table compares what your team would own under each way of running Chroma yourself, from packaging and upgrades to backup and the cost of switching later. Read each row as a question to answer for your team, and confirm the details in Chroma's documentation or a test run before you plan around them. The main takeaway is that existing skills and infrastructure will shape most of the difference between these options.

FactorChroma on DockerChroma on KubernetesChroma on VMs
Packaging the team ownsTeam writes the image and Compose file itself unless Chroma publishes an official image, which to confirm before planning.Team writes the image, manifests or Helm chart unless Chroma publishes an official chart, which to confirm first.Team installs the Chroma package or binary on each host and owns the service unit that runs chroma run --path.
Sizing approachTeam sets CPU, memory and volume sizes; confirm memory and disk needs for your collection size with a test run.Team sets pod requests, limits and storage claims; confirm how distributed Chroma scales before setting replicas.Team picks instance size and disk up front and resizes by hand; test with your own data volume first.
High availabilityA single host is a single point of failure unless the team builds failover; confirm which mode supports multiple nodes.Team designs restarts, probes and any multi-replica setup; confirm which Chroma components can run as replicas.Team builds failover with a second host and a load balancer; confirm the supported topology in Chroma's overview.
UpgradesTeam pins a tag, tests, then redeploys; read release notes for storage changes before each upgrade.Team rolls out a new image or chart version; confirm the upgrade path for each component before rollout.Team schedules package upgrades and restarts per host; keep a rollback copy of the data directory.
BackupTeam backs up the persistence volume and configuration; confirm which paths hold state in your mode.Team backs up persistent volumes and manifests; confirm a consistent method for backups taken during writes.Team uses its own disk snapshot or file backup tooling; confirm a safe method while Chroma is writing.
MonitoringTeam relies on container and host metrics and logs; Chroma no longer collects product telemetry as of version 1.5.4.Team runs cluster probes, metrics and log shipping; confirm which health endpoints and metrics Chroma exposes.Team adds host agents and process checks; confirm what Chroma exposes natively before relying on it.
Operating skillsContainer image handling, Compose or runtime configuration, volume management and basic Linux administration.Cluster administration, storage classes, networking and Helm or manifest work, on top of Chroma itself.Linux administration, service management, patching and snapshot tooling, on top of Chroma itself.
Cost driversHost capacity and staff time to build and maintain images. Chroma is Apache 2.0, so the software carries no license fee.Cluster capacity, platform team time and storage. Confirm node and storage costs with your provider.Instance and disk charges from your provider, OS support if you buy it, and patching labor.
Cost of switching laterLow to moderate if images and volumes stay portable. Confirm the export path and any change of mode.Moving manifests, storage classes and cluster tooling takes time. Confirm data format portability first.Rebuilding hosts and moving data directories. Confirm whether data moves cleanly between modes.

What runs where: Chroma's modes and how each one packages onto a host

Chroma runs in four forms, and the form you choose decides what a container, pod or VM actually wraps. The first two stay on one host, the third spreads across a topology you must verify, and the fourth moves cluster operation to Chroma Cloud. Each card names the component you would package and the duties that remain with your team.

Local install for prototyping

Installing with pip install chromadb or npm install chromadb embeds Chroma in your own application process, and the README documents an in-memory client for prototyping. Nothing is served over the network, so there is no separate database service to package. A container or VM would wrap your application, its dependencies and the data directory it writes to, and your team owns all three. Anything held only in memory is lost when the process stops, so confirm where persistent data goes before a prototype moves to a shared host. The open source overview also notes that local Chroma may temporarily lack features the distributed system has.

Chroma open source overview

Client-server on one host

Running chroma run --path starts Chroma as a server on one host, so several applications can call it over the network against one persistent path. This is the most direct shape for a Docker container or VM: the container or VM wraps the server process and the mounted path, and the listening port is the main surface to control. Your team owns the host, the persistent directory, its backups, patching, and who can reach the port. A single host gives you no failover of its own, so agree a recovery expectation with your users before you rely on it for production.

Distributed Chroma needs its own check

Distributed Chroma relies on a different storage subsystem from single-node local Chroma, so a setup that works on one host does not carry over unchanged. Treat it as a separate topology: map which components run where, where each storage subsystem keeps its data, and how the cluster is upgraded and backed up. On Kubernetes that map becomes pods, persistent volumes and network policy, and on VMs it becomes hosts and the network between them. Confirm the supported layout and feature set with the open source overview before you size anything.

Chroma open source overview

Chroma Cloud as the hosted option

Chroma Cloud is a hosted serverless service for vector, hybrid and full-text search, and Chroma states that it runs the same open-source distributed system. You build no container, pod or VM for it, and operating the cluster becomes the provider's job. Your team still owns the application side, API credentials, which data gets sent, and the region and contractual terms that decide where that data lives. Confirm data location, retention and compliance terms with Chroma before you use it for regulated data, since those answers come from the provider's own terms.

Chroma README

Why the Chroma mode sets the ceiling on the platform choice

Settle the Chroma mode before you compare packaging, because the mode caps what the platform can do. Chroma's open source overview says that local Chroma may temporarily lack features available in the distributed system, so a feature that works in a single-node test may be missing from the mode you plan to run. Before you choose between Docker, Kubernetes and virtual machines, list every query, filter, collection and client capability your application depends on, then check each one against the documentation for the mode and release you intend to pin. Ask Chroma or your own proof-of-concept team to confirm which features are absent in local mode for that release. Packaging does not close those gaps. A Kubernetes deployment of single-node Chroma still runs single-node Chroma, with the same feature set.

The two modes also rely on different storage subsystems, and that changes what backup, restore and failover mean for your team. In local mode, data lives in the location you set at startup, such as the path passed to chroma run --path, so your backup plan centers on that store. Distributed Chroma uses a different storage layout, so a runbook written for local mode will not carry over. Confirm with the vendor documentation which components hold state, which backup method is supported, whether a copy is safe while the service is running, how a restore is sequenced and whether failover is automatic or a manual procedure. Then restore into a clean environment and measure how long recovery takes against the recovery target your business has agreed. Your choice of mode decides which team runs those steps: a Docker host owner, a Kubernetes platform team or your virtualization operators.

The decision path from Chroma mode to deployment option

The diagram starts at the workload need and first asks whether a single node is enough. Single-node local Chroma and distributed Chroma rely on different storage subsystems, so the mode sets which platforms are candidates. The team's existing footprint then picks the path: a single Docker host, virtual machines or Kubernetes. Every path ends at the same two checks. First, confirm feature parity for the chosen mode, since local Chroma may temporarily lack features available in the distributed system. Second, run a backup and restore test end to end before go-live.

Decision path from workload need to a deployment option and two checks.

Upgrades, backups and monitoring for each Chroma option

This table compares how each Chroma option handles upgrades, rollback, backups of the data location used by chroma run --path, monitoring, telemetry and staffing. Read each row across the three columns, and treat the rollback and backup rows as the checks you run before any upgrade. Chroma 1.5.9, published May 5, 2026, is a dated reference point, so confirm the current release before pinning a version.

AreaDockerKubernetesVirtual machines
Release cadenceTagged PyPI and npm packages ship Mondays, with hotfixes at any time. Confirm image tag timing on the releases page.Same cadence applies. Pin one version and rehearse each upgrade in a non-production cluster first.Same cadence applies. Pin one package version and rehearse each upgrade on a copy of the host first.
Upgrade pathChange the pinned image tag, test in staging, then restart the container.Change the image tag in a staged rollout and watch pod health and logs.Upgrade the pinned package on a staging host, then promote the same version to production.
RollbackRe-run the previous pinned image tag. Confirm the older version can read data written by the newer one.Roll the Deployment back to the prior revision. Check the volume data still loads on the older version.Reinstall the previous pinned package. Restore the pre-upgrade snapshot if the data format changed.
Backup of chroma run --path dataBack up the host directory mounted at the --path location. Quiesce writes or snapshot the volume first.Back up the persistent volume behind the --path mount. Snapshot support depends on your storage class.Back up the directory passed to --path with disk or file-level snapshots. Quiesce writes before copying.
Storage subsystem checkConfirm which storage subsystem your mode uses before choosing the backup scope.Confirm which storage subsystem your mode uses, then map each one to a volume claim.Confirm which storage subsystem your mode uses, then list each directory that needs backup.
MonitoringContainer logs, restart counts and host disk usage on the --path volume, through your container runtime.Pod health probes, restarts and volume usage through your cluster monitoring stack. Confirm health endpoints for your version.Service supervisor status, process logs and disk usage on the data directory, with alerts on the service itself.
TelemetryChroma stopped product telemetry at 1.5.4, so no telemetry egress rule is needed. Registry and package access still is.Same telemetry change from 1.5.4. Egress policies still need image registry and package access.Same telemetry change from 1.5.4. Package installs and OS updates still need outbound paths.
Skills neededContainer basics, volume mounts, and a reverse proxy with TLS for client access.Cluster operations, storage classes, manifests or Helm, and on-call for stateful workloads.Linux administration, service management, package pinning and file-level backup tooling.

Which team should run Chroma on Docker, Kubernetes or VMs

An application team running one service usually already has a Docker host, a deployment pipeline and an on-call rotation for its own app. Chroma fits that setup in single-node mode, where the server runs as a process with a local data path, started with chroma run --path. The team owns every layer around the database, so the operating work stays small only if the team builds those layers on purpose. This option is the wrong one when the workload needs distributed features the team has not confirmed, or when several services need to share the same index.

  • Already in place: a Docker host, CI/CD, application logs and an on-call rotation that already covers the app.
  • Monitoring: an alert on the Chroma endpoint and on disk use for the data path, added to whatever the team uses for the app.
  • Backup: a scheduled copy of the data path with a tested restore; confirm with the Chroma documentation which copy method is safe while the server runs.
  • Access control: a listener on a private network interface and a firewall rule that limits callers; confirm what authentication Chroma's client-server mode provides before exposing it.
  • Patching: a pinned image tag and a rebuild schedule, since no platform team will apply Chroma releases for this team.

Check first whether your required features work in local mode, because the Chroma open source overview says local Chroma may temporarily lack features available in the distributed system.

What drives cost and effort in a self-run Chroma deployment

The largest cost in a self-run Chroma deployment is usually your team's time, and infrastructure is the second line. Your engineers pay for packaging Chroma into a container image or VM build, choosing a storage layout, configuring backup, wiring monitoring and setting access control for whoever can reach the API. Your infrastructure team pays for the Docker hosts, VMs or Kubernetes cluster capacity and the persistent volumes behind them. Outside help is a third component, scoped in writing and quoted from that scope. The one-time work is packaging, a sizing test on your own data, a restore drill and cutover from any prototype. Distributed Chroma and single-node local Chroma rely on different storage subsystems, so the restore drill must run against the mode you choose. Check the mode differences in the Chroma open source overview before you size anything.

Recurring work is where a self-run service costs the most over time: upgrades, patch cycles, monitoring and on-call coverage for the vector store under your retrieval features. Chroma publishes tagged PyPI and npm packages on Mondays with hotfixes at any time, and version 1.5.9 shipped on May 5, 2026, so an upgrade calendar and a named owner matter as much as the first install. Collection size, embedding dimensions, query load and mode drive the hardware and storage line. Larger collections and higher dimensions raise memory and disk needs, and query load sets how much headroom you buy. Your platform maturity decides how much packaging, backup and monitoring you can reuse from existing tools.

Before you accept a quote, ask for four things in writing. First, the scope: which hosts or cluster namespaces, which mode, and which one-time and recurring tasks are included. Second, handover terms: what documentation, runbooks and credentials your team receives at the end, and what remains with them. Third, who runs upgrades, who approves them, and how security patches reach production under any retainer you buy. Fourth, evidence of a tested restore: a dated drill on a copy of your data, with the recovery steps, the time taken and the checks that confirmed the collection matched the source. Ask for the drill output itself. These four items turn the cost components above into a quote you can compare line by line.

How to move a Chroma prototype onto a self-run host in steps

This sequence takes a Chroma prototype from an in-memory development client to a pinned, backed-up and monitored service on a host you run. Each step ends with a check you can record, so the choice between Docker, Kubernetes and VMs rests on your own measurements and operating model.

  1. Confirm the deployment mode and features

    The engineering lead checks every feature the application calls against Chroma's open source overview, then records which deployment mode each one needs. Chroma runs as distributed Chroma or single-node local Chroma, the two rely on different storage subsystems, and local Chroma may temporarily lack features the distributed system has. Run the prototype's exact queries against the planned mode, since the in-memory client used in development never touches the server. The step is done when a written feature list maps each call to a supported mode and every gap has a named owner.

  2. Choose Docker, Kubernetes or VMs

    The platform owner picks the runtime your team already operates well, using existing on-call, patching and backup tooling as the test. A team with a working container platform has a shorter path on Docker or Kubernetes, while a team that manages a VM estate can run Chroma on a VM with the same tooling. Kubernetes adds a control plane to operate, so it pays off mainly when a cluster already exists. Ask Chroma whether it publishes a supported image or deployment manifest for your chosen mode, and get the answer in writing. The step is done when a decision record names the runtime, the owner and the alert recipients.

  3. Size on your own data

    The team loads a representative sample of its own documents and embeddings, using the vector dimensions and metadata shape the application actually uses, then measures memory, disk and query latency at the concurrency it expects. Ask Chroma for sizing guidance for the mode and workload described, and treat any figure it gives as a starting point until your measurements confirm it. Sizing numbers from other datasets or other people's benchmarks belong in the notes only as questions to check. The step is done when a sizing note lists the measured inputs, the measured outputs and the written guidance it was checked against.

  4. Define data path, backup and restore

    The platform owner sets the directory that chroma run --path writes to, places it on storage the host's backup job covers, and documents which files belong to the database. Confirm with Chroma which backup method it supports for your mode and version, and whether a copy taken while the server is running is consistent. Distributed mode uses different storage, so its backup approach needs its own confirmation. Restore the backup onto a clean host, then compare collection names and record counts with the source. The step is done when a restore test passes and its date and result are written in the runbook.

  5. Pin a version and rehearse upgrades

    The platform owner pins the exact Chroma version in the deployment manifest, image tag or package lock, and records why it was chosen. Chroma publishes tagged PyPI and npm packages on Mondays, with hotfixes at any time, so the rehearsal should cover a routine Monday release and an unscheduled hotfix. Run each upgrade in staging against a restored copy of production data, then replay the query regression set and compare results. The step is done when the staging upgrade and rollback both pass and the runbook names who approves the production change.

  6. Cut over with monitoring and access controls

    Before traffic moves, the team confirms the pinned version is 1.5.4 or later, since Chroma no longer collects product telemetry from that version, and checks host outbound rules against what the server should contact. It then enables health checks, disk usage alerts and access controls on the network path. Confirm with Chroma which authentication options the pinned version provides before relying on any of them. Capture the outbound connections of a short test session and compare them with the approved rules. The step is done when the cutover checklist is signed, a test alert fires and the outbound log matches the approved rules.

What buyers ask before they choose Docker, Kubernetes or VMs for Chroma

How much recurring effort does self-hosting Chroma take?

Recurring effort comes from keeping the database current, tested and monitored, and it grows with the number of environments you run. The Chroma project publishes tagged PyPI and npm packages on Mondays, with hotfixes at any time, so someone on your side needs a regular review cycle, such as the 1.5.9 release published on May 5, 2026. Recurring tasks include reviewing releases, testing upgrades against a copy of your data, monitoring the host, rotating credentials, and running backups and restore drills. Effort tends to rise with query volume, data retention, the number of environments and stricter change control in a regulated setting. Ask any outside provider to list each recurring task, how often it happens and who performs it.

Can a team with Docker skills run Chroma without outside help?

Often yes for a single-node proof of concept, but a production setup asks for more than Docker skills. The Chroma README shows installation with pip install chromadb or npm install chromadb, an in-memory client for prototyping, and client-server mode started with chroma run --path, so a container-literate engineer can get a working instance running quickly. The harder work follows: storage layout, backup and restore, access control, upgrades and monitoring, which you should plan and test yourself for a regulated production setup. Local Chroma may temporarily lack features available in the distributed system, so confirm which mode meets your requirements before you containerize it. If your team lacks that capacity, DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted platforms inside your infrastructure, and ongoing support is available as a retainer. Confirm the gaps in writing before you decide.

What does running Chroma ask from our own staff?

It asks for people who own the database, the host and the access path, plus a named on-call rotation that can respond when a node stops serving queries. The skills include Linux and container operations, storage and backup administration, network and identity configuration, and enough Python or JavaScript to work with the client API, which centers on four core functions. Access is needed at several layers: the host, the container runtime, the data volume, the secrets your application uses and the change pipeline. Confirm which of these your staff already hold, who approves changes to production data and who is paged after hours. A fixed-scope engagement can document and hand over some of this work in writing, but each duty still needs a named internal owner.

What sets the time to a first Chroma deployment?

The main drivers are the deployment mode, the number of environments, your network and approval path, and the integration work around Chroma. A local single-node setup can start quickly for a prototype, while a distributed deployment in your own infrastructure adds storage, networking and identity decisions that take longer to settle. In regulated organizations, security review, change approval and access requests often set the pace more than the installation itself. Ask any provider for a timeline tied to a written scope with named milestones, since durations depend on environment and scope, and check it against your own change calendar. Confirm which steps depend on your internal reviews and which depend on the implementer.

Do we need Kubernetes for high availability with Chroma?

Chroma's public documentation does not describe a high availability topology for either mode, so confirm the availability design with the Chroma project and your own test team before you assume one. Chroma offers distributed and single-node local modes that rely on different storage subsystems, and local Chroma may temporarily lack features available in the distributed system, so the answer depends on the mode you run. Kubernetes can restart failed pods and manage replica counts, but it does not by itself show how Chroma's data replicates, how failover behaves or how a restore is done. Ask for documented failover behavior, the recovery steps you can accept and the restore procedure, then test them in your environment. Evaluate Kubernetes as an operations choice, and let failover tests decide the availability question.

What happens to telemetry and outbound traffic in a restricted network?

As of version 1.5.4, Chroma no longer collects product telemetry, according to the Chroma open source overview, so telemetry is no longer a reason to open an outbound path on that version or later. Confirm this for the exact release you deploy, and check older releases separately. Outbound traffic is a different question. Chroma's core API handles tokenization, embedding and indexing automatically, so confirm which embedding function and model files your setup downloads and from where. Package installation and any other network calls also need to be listed. Run installation and a query workload in an isolated test network, capture the traffic, and keep the results in your security evidence.

When should we switch how we package Chroma between Docker, Kubernetes and VMs?

Switch when a documented operating need outgrows the current packaging, such as a fleet of environments that needs consistent rollout, an availability requirement your tests show the current setup cannot meet, or a platform standard your infrastructure team already runs. Each move changes who patches the host, how storage attaches and which runbooks you need, so write the trigger into your scope before you start. Run the new packaging beside the old one against a copy of your data, then compare restore times, upgrade steps and access controls. Base the decision on those test results and the requirements in your written scope.

What is hard to reverse after choosing a Chroma packaging model?

The hardest part to reverse is the data layout and the operating habits built around it, more than the container or VM itself. Chroma's distributed and single-node modes rely on different storage subsystems, so moving data between them is a migration project that needs its own testing. Backup formats, retention rules, identity integration, monitoring and runbooks also accumulate around the chosen packaging and take time to rebuild. Before you commit, ask for a documented export and restore procedure, record the exact versions you deploy and keep infrastructure definitions in version control. Confirm with the Chroma project how data moves between modes before you rely on any path.

How DeployOpen works on this

DeployOpen runs self-hosted Chroma inside your own cloud accounts, data centers or air-gapped networks. Whether your team chooses Docker, Kubernetes or virtual machines is one of the first items in the written scope, and the work covers the infrastructure around Chroma: storage, access, high availability, upgrades and backup. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names the target platform (Docker, Kubernetes or virtual machines) and the reason it was chosen.
  • It fixes the Chroma mode, single-node or distributed, and checks which features that mode lacks.
  • Data location, network boundaries and identity requirements are listed, so reviewers know where vectors and metadata sit.

How we build

  • Installation follows the agreed platform, whether a Docker setup, Kubernetes manifests or VM provisioning, with configuration in version control.
  • Storage, access and network controls are built and tested for the agreed mode and its client access path.
  • Upgrade, backup and restore procedures are rehearsed on the same platform before handover and recorded as runbooks.

How we hand over

  • Handover documents the topology, configuration, sizing inputs and the upgrade path for the Chroma version you run.
  • Your team receives runbooks for backup, restore, monitoring checks and access changes, written for the platform they will operate.
  • Compliance evidence for configuration and access settings is prepared for your auditors, who issue any formal assessment.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build.
  • Ask whether the retainer covers Chroma version upgrades, backup restore tests and platform changes, and what response windows apply.
  • Security testing of the Chroma setup can be added on a separate written scope, with retesting after fixes if agreed.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.