Running Qdrant in Docker for production: what changes from a laptop run
A team that has Qdrant running in a container for development needs four things before it can call that setup production: persistent named volumes for /qdrant/storage and snapshots, a production.yaml override, API keys and TLS, and a raised open file limit with a restart policy. The laptop run usually skips all of them, and the Qdrant security docs are explicit about the default state: self-deployed instances listen on all network interfaces and have no authentication configured. Anyone who can reach the port can read and delete data, so the first production change is closing that exposure, not adding capacity.
Storage is the next decision. Qdrant needs block-level storage with a POSIX-compatible file system, and it cannot run on NFS or S3-style object storage. Put the storage path on a local SSD or NVMe volume, and confirm with your host provider that the volume is block storage before you load data. Also confirm that the Qdrant release you pin is current: the latest GitHub release cited for this guide is v1.19.2, published October 5, 2026, so check the Qdrant releases page for anything newer on the day you deploy.
A single Docker host is a reasonable production choice when one node's failure is an acceptable outage and you can restore from snapshots within your recovery target. It is not a high-availability design. The Qdrant distributed deployment docs recommend at least three nodes for production clusters so that quorum survives a node failure, and they describe Raft consensus, shards and replication factors that only apply once you run cluster mode. If your availability requirement needs the cluster to keep serving through a host loss, plan a three-node topology from the start, because converting a single-node container into a cluster later is a migration, not a setting change. Ask the team that owns the workload to write down the outage they will accept before choosing.
Which Docker settings fit a single host, a small team or a regulated environment
A laptop run exists to test collections, client code and queries, so convenience usually outranks hardening. Qdrant listens on all interfaces by default and ships with no authentication, so a local container is still an open service if the machine joins a shared network. Keep the scope small and treat the instance as disposable, but do not copy its settings into anything else.
- Storage: A named volume or a short-lived bind mount is acceptable, since losing the data is an inconvenience rather than an incident.
- Configuration: Default settings are often enough. Avoid editing the production override file here so that the test setup does not drift into a production baseline.
- Authentication: An API key is still worth setting early so that client code is written against the same header a production service will use.
- Network: Publish the port to
localhostonly, rather than to all host interfaces, so other devices on the network cannot reach the instance. - Limits: Raise the open file limit only if you load large collections, since the troubleshooting guidance ties that limit to segment files.
Before you reuse any compose file or command from this environment, confirm that the same keys, paths and network bindings are reviewed for the host that will carry real data.
A single production host usually serves one application team or a small group of teams. Persistence, restarts and access control matter here because the node is a single point of failure, and a clustered design is not yet in place. The goal is a predictable container with durable storage, enforced keys and TLS, and limits that stop one workload from starving the host.
- Storage: Use a named volume or a dedicated block device mounted into the container for
/qdrant/storageand the snapshot path. Qdrant requires block storage with a POSIX-compatible file system, so avoid NFS and object-storage mounts. - Configuration: Keep a
production.yamloverride under version control and set the storage and snapshot paths explicitly so that they match the volumes you back up. - Authentication and TLS: Enable an admin API key and a read-only key, and terminate TLS for REST and gRPC. Give application services the read-only key where they only query.
- Network: Bind the port to the private interface or place it behind a reverse proxy, and close the default all-interfaces exposure.
- Resources: Set memory and CPU limits and a restart policy, and confirm the open file limit is raised as the troubleshooting guide recommends.
Confirm that a restored snapshot works on the same minor version you run, and that someone on the team knows which key rotates when a person leaves.
In a regulated or air-gapped environment, the settings are chosen to produce evidence for reviewers as well as to run the service. Access must be granular, traffic must be encrypted, administrative actions must be logged, and the image and its dependencies must come from sources the organization controls. The configuration becomes part of the control set, so every key and path should be reviewable.
- Access control: Use JWT-based access with per-collection read or write permissions where tenants or services need different rights, rather than sharing one admin key.
- Audit logging: Turn on JSON audit logging of authenticated API operations and ship the logs to a store the security team can query and retain.
- Storage and encryption: Confirm the disk and volume encryption approach with your storage team, since Qdrant's documentation does not settle that choice for you.
- Images and sources: Mirror the container image into an internal registry and pin the version, because an air-gapped host cannot pull updates on demand.
- Network: Restrict inbound and outbound traffic to named clients and the internal embedding service, and document every open port.
Before approving this design, ask the auditor or security lead which evidence they need, such as configuration files, key inventories or log samples, and confirm that your own controls produce it.
Docker options for storage, config, access and resources
This table compares the Docker run settings that decide how a Qdrant container stores data, loads configuration, controls access, and uses host resources. Read each row for when the option fits and what it costs you, then apply the production column choices together rather than one at a time.
| Setting | What it does and when it fits | Trade-off and what to confirm |
|---|---|---|
| Named volume for /qdrant/storage | Keeps vectors, payloads and WAL on a Docker-managed volume, so data survives container replacement. Fits a single production host on local block storage. | Use SSD or NVMe on a POSIX file system. Avoid NFS, S3 mounts and bind-mounted Windows folders. Confirm the host's disk type with your provider. |
| Named volume or path for snapshots | Gives snapshot files a location separate from live storage, so a failed volume does not take backups with it. Fits when you copy snapshots off the host on a schedule. | A snapshot on the same disk protects against logical errors only. Plan an off-host copy, and confirm the snapshot path setting in your Qdrant version's configuration reference. |
| production.yaml mounted read-only | Holds storage paths, service host, API key and TLS settings in a file under version control. Fits teams that review configuration changes before rollout. | Mounting read-only stops the container from editing it, which is the intent. Changes need a container restart. Keep secrets out of the file where possible. |
| API key (admin and read-only) | Requires a key on every request, and a separate read-only key lets applications query without write or admin rights. Supported since v1.2.0 according to the Qdrant security docs. | Without a key, a default self-deployed instance listens on all interfaces with no authentication. Keys are shared secrets, so plan rotation and where they are stored. |
| JWT per-collection access | Grants read or write permission per collection to individual clients through signed tokens. Supported since v1.9.0 according to the Qdrant security docs. Fits multi-application or multi-team hosts. | Requires token issuance and key management outside Qdrant. Adds design work before go-live. Confirm the configuration steps in the security docs for your version. |
| TLS for REST and gRPC | Encrypts client traffic to the container, supported since v1.2.0 according to the Qdrant security docs. Needed when clients reach the host across a network you do not fully control. | Requires certificate issuance, renewal and distribution to clients. Set it up in the production.yaml file or as environment settings, and test both REST and gRPC ports. |
| --ulimit nofile | Raises the open file limit for the container. Qdrant's troubleshooting docs give 10000:10000 as an example because each collection segment keeps files open. Fits any host with many collections or segments. | A higher limit uses more kernel resources, and the host may cap it. Confirm the value against your collection count and segment layout, and test under load. |
| CPU and memory limits | Caps how much of the host a container can consume, so other services on the host keep running. Fits shared hosts. | A memory cap below your dataset size causes failures or slow searches. Size memory from your vector count and index settings, and confirm the figures in the performance tuning guidance before setting limits. |
| Restart policy | Restarts the container after a crash or host reboot. A policy such as unless-stopped suits a long-running single node. | Automatic restarts can hide a repeating fault. Pair the policy with health checks and log monitoring, and confirm the behavior your Docker Engine version applies. |
How to set up the Qdrant container for production
This sequence takes the qdrant/qdrant container from a test run to a host you can operate, with storage that persists, authentication enforced on both protocols, TLS in place and limits set. Each step closes with a check you can run before moving on.
Confirm the host uses block storage
Before anything else, confirm with your platform or infrastructure team that the disk behind the Docker host is block-level storage with a POSIX-compatible file system, ideally on SSD or NVMe. Qdrant cannot run on network file systems such as NFS or on object storage such as S3, so a mount from either will fail to meet the requirement even if the container starts. Check the filesystem type with
df -Tand the device withlsblk. The step is done when the storage path that will hold Qdrant data reports a local block device and a POSIX file system type.Create named volumes for storage and snapshots
Create two named Docker volumes, one mounted at
/qdrant/storagefor collection data and one for snapshots, so data lives outside the container's writable layer and survives image replacement. Avoid bind-mounting host folders on Docker Desktop or WSL, where data can be lost after a restart. Rundocker volume createfor each volume and thendocker volume inspectto confirm the driver and mountpoint. The step is done when both volumes exist and inspect shows them on the Linux host's local driver.Write the production.yaml override
Write a
production.yamlfile under version control that sets the storage path and the snapshot path to the locations inside the container that match your named volumes, and set the service host so Qdrant listens only where you intend. Mount the file read-only into the container at the path Qdrant reads its config from. The platform team should review the file in a pull request, since it holds the settings most likely to change over time. The step is done when the container starts with the file mounted and the logs show the storage path you set rather than the default.Set API keys from a secrets source
Generate an admin key and a read-only key, and pass them to the container through your secrets source, such as a secrets manager or a root-owned file injected at runtime, rather than typing them into the Compose file or shell history. Qdrant ships with no authentication, so this step is what stops anyone who can reach the port from reading or deleting collections. Confirm the key values are not present in
docker inspectoutput or in committed files. The step is done when the admin key is set through the secrets source and the container logs show that the key is configured.Add TLS certificates for REST and gRPC
Install a certificate and private key issued by your internal certificate authority or a public CA, mount them read-only into the container, and reference them in
production.yamlfor both the REST and gRPC listeners. Keep the private key readable only by the container user and record the certificate expiry date in your renewal calendar. Use your own CA process and confirm the certificate chain with a client that trusts your CA. The step is done when an HTTPS request to the REST port completes a TLS handshake against the expected certificate chain.Raise the open file limit
Set the open file limit for the container, for example with
--ulimit nofile=10000:10000in Docker, because each collection segment keeps files open and the default limit can be reached as data grows. Qdrant's troubleshooting guidance covers this setting. Pick the value with your capacity team, since the number needed depends on the collections and segments you expect to run. The step is done whendocker inspectshows the nofile limit you set and the container starts without file-descriptor errors under test load.Set resource limits and the restart policy
Set memory and CPU limits on the container so one runaway process cannot starve the host, and set a restart policy such as
unless-stoppedso Qdrant returns after a host reboot or a crash. Size the memory limit with the sizing guidance for your data, and confirm the host has headroom for the operating system and any other containers. Check the values withdocker inspectand watch memory use under a representative load. The step is done when the limits and restart policy appear in the container configuration and a forced restart brings the service back.Verify authentication and data persistence
Start the container with all the settings above, then test that the REST and gRPC endpoints both reject requests without a valid API key and accept requests with one. Create a small test collection with the admin key, insert a few points, restart the container with
docker restart, and confirm the collection and points are still present. Remove the test collection afterward. The step is done when unauthenticated calls to both endpoints are refused, the authenticated calls succeed, and the data is intact after the restart.
How the container, volumes, config and network boundary fit together
The diagram starts at the client, which reaches Qdrant only through a firewall or reverse proxy on the host. Inside the host, the Qdrant container reads the mounted production.yaml and API key and TLS material, then writes collection data to the named volume for /qdrant/storage and snapshots to a separate named volume. Check that the published REST and gRPC ports sit behind the boundary, that the container is not bound to all interfaces without authentication, and that both volumes sit on block storage rather than a network file system.
Client traffic crosses one boundary before reaching the container and its two volumes.
Security settings to apply before exposing the container
A self-deployed Qdrant instance ships with no authentication and listens on all interfaces, so the container is open to anything that can reach its ports until you change that. The cards below cover the settings to apply in order: network exposure first, then keys, per-collection access, transport encryption, audit logging and secret handling.
Binding and network exposure
The Qdrant security docs state that self-deployed instances listen on all network interfaces by default. In Docker, that means a -p 6333:6333 publish exposes the REST API to any network the host can reach. Publish ports only on the interface you need, such as 127.0.0.1:6333:6333 for local use, and place the service behind a private network or a reverse proxy. Verify from a machine outside the allowed network that connections to 6333 and 6334 are refused.
API keys and read-only keys
Setting an admin API key stops anonymous requests from creating, changing or deleting collections. A separate read-only key lets search services query data without the right to write or drop it. Qdrant supports both key types and TLS since v1.2.0. Confirm that unauthenticated requests return an authorization error, and that the read-only key fails on any write call. Store the keys outside the image and the Compose file.
JWT per-collection access
When several applications share one instance, static keys are too coarse. JWT-based access control, available since v1.9.0, lets you grant read or write permissions per collection. Each application receives a token that names only the collections it may use. Test each token against a collection it should not reach, and confirm the request is rejected. Plan the signing key rotation before tokens reach production clients.
Qdrant security docsTLS for REST and gRPC
Keys sent over plain HTTP can be read by anyone on the path between client and container. Qdrant supports TLS for both the REST and gRPC interfaces since v1.2.0, so enable it on both ports and mount the certificate and key read-only into the container. Check that clients validate the certificate chain, and that a plain HTTP request to the TLS port fails. Ask your security team who issues and renews the certificates.
JSON audit logging
Audit logs record authenticated API operations, which lets you answer who changed a collection and when. Qdrant added JSON audit logging of authenticated operations in v1.17.0. Enable it, send the output to a log store outside the container host, and confirm that a test collection creation appears with the key or token identity. Without logs held elsewhere, a compromised host can erase the trail.
Keys out of image layers and Compose files
Keys written into a Dockerfile, an environment block in a committed Compose file or a production.yaml in the image end up in image history and version control. Pass the key through a file-based secret or an environment file that is not committed, and reference it at runtime. Check the result with docker history and by searching the repository for the key value. Rotate any key that has already been committed.
Running and maintaining the production container
Day-two care for a Docker-hosted Qdrant starts with two copies of your data: the volume mounted at /qdrant/storage and collection snapshots taken through the API. The volume protects the node's own state, while snapshots give you a portable archive you can restore elsewhere. Schedule both, store snapshots outside the host (in S3-compatible storage if your environment supports it), and test a restore on a separate host before you need one. The restore rule matters most: a snapshot restores only to a cluster on the same minor version or the next one. The backup and disaster recovery page in this group covers the schedule, retention and restore steps in detail.
Pin the image to an explicit release tag, such as qdrant/qdrant:v1.19.2, rather than latest, so a host restart or redeploy never changes the engine version without a decision. Upgrade one minor version at a time, testing each step against a copy of your data and your client SDK before touching production. Take a fresh snapshot before every upgrade, because rollback to an older minor version is not a supported path. The upgrades page in this group walks through the rolling sequence and the checks to run between steps.
Watch disk and file handle use from the start. Qdrant keeps files open for each collection segment, so the open file limit set with --ulimit nofile=10000:10000 needs to be verified on the running container, not only in the run command. Alert on free space on the storage volume, because the optimizer and snapshot creation both need headroom. Confirm these limits, the snapshot path and the restart policy with a short restart test after each change. The monitoring and troubleshooting page covers the metrics and common errors to alert on.
Limits to confirm in your environment before go-live
A single container on one host is a working production starting point, but several Qdrant limits set the boundary of that design. Confirm each limit below against your availability target, storage layout, backup plan and image pipeline before you accept the setup for go-live.
Single node is not high availability
One container on one host has no failover. If the host, its disk or the Docker daemon fails, search stops until you restore service. The Qdrant distributed deployment docs recommend at least three nodes for production clusters so quorum survives a node failure. Confirm with the business owner what outage window the workload can tolerate, and whether a single-node design is a deliberate, documented choice.
- Minimum for production clusters
- 3 nodes
Block storage with SSD or NVMe
Qdrant needs block-level storage with a POSIX-compatible file system. Network file systems such as NFS and object storage such as S3 are not supported for the storage path. Confirm that the volume behind the named volume for /qdrant/storage is a local or block device, and that the host uses SSD or NVMe drives as the installation docs recommend. Do not place the data path on a network share because it is convenient for backups.
Snapshots are per collection
Collection snapshots are tar archives of one collection on one node. Full-storage snapshots work only on single-node deployments, so a single node is the only case where a whole-instance snapshot is available. Confirm which collections need recovery points, where snapshot files are written, and how often they are copied off the host. Test a restore into a separate container before you rely on the backup.
Snapshots docsOpen file limit grows with collections
Each collection segment keeps files open, so the open file count rises as you add collections and segments. Qdrant's troubleshooting guide recommends raising the limit, for example with --ulimit nofile=10000:10000 in Docker. Confirm the planned collection count and segment growth, then check the limit on the host and inside the running container, because a value set only in the Compose file or daemon defaults may not apply.
Image architecture must match the host
The Qdrant image is built for specific CPU architectures, and a mismatched image can fail to start or run under emulation with poor performance. Confirm the host architecture with uname -m and check that the image tag you pin publishes a matching variant. Use the same architecture in staging and production, and record the exact tag and digest in your change record so upgrades remain repeatable.
Questions teams ask before running Qdrant in Docker in production
Does the open-source Qdrant engine cost anything to self-host?
No license fee applies to the open-source engine. Qdrant is licensed under Apache-2.0 according to its GitHub repository, and the open-source engine is free to self-host, per the Qdrant pricing page. Your costs are the host, storage, network, backups, monitoring and the people who run them. Those costs recur every month even though the software is free. Paid offerings such as Qdrant Cloud, Hybrid Cloud and Private Cloud are priced separately and are not required to run the engine in Docker.
What work drives the cost of a production Docker setup?
The cost is mostly labor, and it comes from a few distinct tasks:
- Host hardening: operating system patching, firewall rules, restricted container runtime settings and access to the Docker host.
- TLS certificate management: issuing, installing, renewing and rotating certificates for REST and gRPC.
- Backup design: choosing snapshot schedules, storage targets and retention, then proving restores work.
- Monitoring: health checks, metrics collection, alerting and log retention.
Each task is a one-time build plus recurring operations. Cost rises with the number of nodes, the compliance evidence required and the number of environments. Ask a partner for each task listed separately in the written scope, with named deliverables and who owns each one after handover.
How long does a single-host Qdrant setup take to get right?
The duration depends on your environment, and no reliable figure applies across organizations. Key factors include whether your host image and certificate authority already exist, how many environments you run, whether security reviews need evidence, and how much of the backup and restore process is new to your team. Confirm the estimate with your own platform team before committing to a date. A partner's written scope should state the phases, the environment assumptions and the acceptance tests that close each phase.
Can our own team set up Qdrant in Docker without outside help?
Yes, if your team already has container operations skills and certificate management experience. The hard parts are rarely the first docker run. They are the API key and TLS settings, the named volumes for /qdrant/storage and snapshots, the open file limit, the resource limits and the restart policy, plus a tested restore. Check that at least one person can rebuild the host from code, that certificate renewal has an owner, and that someone has restored a snapshot to a separate host before go-live.
What breaks first in a single-host Qdrant deployment?
Most early problems come from defaults and storage choices. By default, self-deployed Qdrant listens on all network interfaces and has no authentication, so an unconfigured container exposes its API. Other common failures include a low open file limit, where the troubleshooting guide recommends a higher limit such as --ulimit nofile=10000:10000 in Docker, and bind mounts on unsupported file systems. Check that the port is not published to the public network, that API keys are set, that the volume sits on block storage and that a restart leaves collections intact.
Does Docker fit production, or should we move to Qdrant Cloud, Hybrid Cloud or the Helm chart?
Docker on one host fits a single-node workload that your team can operate and recover without a cluster. Choose Qdrant Cloud when you prefer a managed service and can accept its hosting terms. Choose Hybrid Cloud or Private Cloud when managed operations must run in your infrastructure, and get pricing from Qdrant sales. Choose the community Helm chart when you already run Kubernetes and need multiple nodes. Qdrant notes that the Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing. Also weigh single-node limits: distributed mode is designed for at least three nodes in production.
What should we ask a partner for in a written scope?
Ask for a scope that names each deliverable and the environment it covers. Useful items include a versioned Compose or run configuration with the image tag pinned, a production.yaml override and its key settings, API key and TLS setup with certificate renewal ownership, host hardening steps, the volume and open file limit configuration, backup and restore procedures with a restore test, monitoring and alert definitions, runbooks and a handover session. Also ask what is excluded, how upgrades are handled, and what evidence is delivered for security or compliance reviews.
Official Qdrant documentation to read alongside this setup
Start with the Qdrant installation docs before you write the Compose or run command. They set the storage rules for a Docker host, including that Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on NFS or S3-backed mounts. Read them alongside your host plan so the named volume for /qdrant/storage lands on local block storage, and confirm the current image name and tag against the release you intend to pin rather than copying a tag from an older guide.
Then read the Qdrant security docs closely, since they state that self-deployed instances listen on all interfaces with no authentication configured by default. The same page covers the API key settings, read-only keys, TLS for REST and gRPC, and JWT-based access control, and it is where you confirm which of these your pinned version supports. Pair it with the Qdrant snapshots docs for the backup path under /qdrant/snapshots, and with the Qdrant troubleshooting guide for the open file limit guidance. Settings and feature availability move between minor versions, so check each key in your production.yaml and each feature you depend on against the release notes for the version you run, and repeat that check at every upgrade.
How DeployOpen scopes and delivers a production Qdrant container
DeployOpen takes a Qdrant container from a test host to a production host inside infrastructure you control. The work starts with a written scope that names the host, volumes, configuration, keys, TLS and operating limits, then moves through build, testing, documentation and handover.
How we scope
- Confirm the host, operating system and container runtime that will run Qdrant in your environment.
- Agree in writing which named volumes, snapshot paths, resource limits and restart behavior are in scope.
- Define the API key, TLS and network exposure requirements, and who holds the keys and certificates.
How we build
- Pin the qdrant/qdrant image to a tested release and write a production.yaml override under version control.
- Configure admin and read-only API keys, TLS for REST and gRPC, and open file limits as the vendor documents.
- Test restarts, failed container recovery and a snapshot restore into a separate environment before go-live.
How we hand over
- Deliver the Compose or run configuration, environment variable notes and the container settings used.
- Document the volume layout, snapshot procedure, key rotation steps and the upgrade path to the next release.
- Walk your operations and security teams through the configuration and the evidence for your review.
How we support
- Support is available as a retainer for patching, version upgrades and periodic configuration review.
- Retainer scope, response expectations and testing cadence are agreed in writing before work starts.
- Ask for the support terms and the change process in your quote so ownership of each task is clear.

