Home → Articles → How to Install Qdrant Vector Database on Ubuntu 26.04

How to Install Qdrant Vector Database on Ubuntu 26.04

02 Apr, 2026

Introduction

Qdrant is an open-source vector database written in Rust that specializes in high-performance similarity search and vector management. The database stores vectors along with their associated payloads, which are JSON objects containing metadata that filters search results based on specific criteria. Qdrant supports multiple distance metrics including cosine similarity, Euclidean distance, and dot product, making it suitable for recommendation systems, image recognition pipelines, anomaly detection, and semantic text search applications. The database achieves millisecond response times on billion-scale datasets through optimized HNSW (Hierarchical Navigable Small World) indexing and supports both gRPC and REST APIs for client communication.

This guide teaches you how to install Qdrant on Ubuntu 26.04 using Docker containerization.

Prerequisites

Before you start:

Install Docker Engine

Qdrant runs inside Docker containers, which provide isolation and consistent behavior across different environments. Docker simplifies the installation process by packaging Qdrant with all its dependencies.

After logging back in, verify Docker is working.

console
$ docker --version

Output:

Docker version 28.0.1, build 1234567

Pull the Qdrant Docker Image

Qdrant publishes official Docker images to Docker Hub under the qdrant/qdrant repository. The image includes the complete Qdrant server with web-based UI and API endpoints.

Create Qdrant Data Directory

Persistent storage ensures your vector collections and payload data survive container restarts. Create a dedicated directory on your host system for Qdrant to store its data.

Run Qdrant Container

With the image pulled and directories ready, you can now start the Qdrant container. The docker run command creates a container from the Qdrant image and maps the necessary ports for client connections and web UI access.

Manage Qdrant Container

Docker manages the Qdrant container as a running process on your system. You can control the container using standard Docker commands to start, stop, restart, and check its status.

Check Qdrant Container Status

console
$ docker ps | grep qdrant

Output:

b2c3d4e5f678   qdrant/qdrant:latest   "/entrypoint.sh"   1 minute ago   Up 1 minute   0.0.0.0:6333-6334->6333-6334/tcp   qdrant

View Qdrant Container Logs

console
$ docker logs qdrant

Output:

[2026-03-12T10:15:30.123Z INFO  actix_server::builder] Starting 8 workers
[2026-03-12T10:15:30.456Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime
[2026-03-12T10:15:30.789Z INFO  qdrant] Qdrant is ready to serve requests
[2026-03-12T10:15:30.890Z INFO  qdrant] HTTP API listening on 0.0.0.0:6333
[2026-03-12T10:15:30.901Z INFO  qdrant] gRPC API listening on 0.0.0.0:6334

Press Ctrl + C.

Stop Qdrant Container

console
$ docker stop qdrant

Start Qdrant Container

console
$ docker start qdrant

Restart Qdrant Container

console
$ docker restart qdrant

Configure Firewall for Qdrant

Qdrant uses two ports for client communication. Port 6333 handles REST API calls and serves the web-based dashboard, while port 6334 handles gRPC protocol connections for higher performance.

Access Qdrant Web UI

Qdrant includes a built-in web-based dashboard that lets you browse collections, view points, and monitor cluster health without writing any code.

The Qdrant dashboard loads and shows an empty state with no collections. You can use the dashboard to create collections, upload vectors, and run similarity searches interactively.

Install Python Client for Testing

Qdrant provides a Python SDK called qdrant-client for interacting with the database programmatically. You will use this client to test your installation by connecting to the Qdrant server and performing basic vector operations.

Test Qdrant Installation

Create a Python script to connect to your Qdrant server and perform basic operations. This test verifies that the server accepts connections, creates collections, inserts vectors with payloads, and executes similarity searches with filters.

View Container Resource Usage

Monitor the resource consumption of your Qdrant container to ensure it has adequate memory and CPU for your workloads.

Conclusion

In this guide, you have installed Qdrant vector database on Ubuntu 26.04 using Docker, created persistent storage directories for data and snapshots, configured the firewall to expose REST API and gRPC ports, and tested the installation with the Qdrant Python SDK. You also accessed the built-in web dashboard and learned how to manage the Qdrant container with Docker commands. Now that you have Qdrant running, consider integrating it with embedding models like sentence-transformers for semantic text search, CLIP for image similarity, or use it as the vector backend for retrieval-augmented generation (RAG) pipelines with large language models.