Databases 7 min read

Step‑by‑Step Guide to Install Milvus Vector Database with Docker Compose

This article introduces Milvus, an open‑source vector database for AI and machine‑learning workloads, outlines its key features and application scenarios, and provides detailed Docker‑Compose commands to set up Milvus, MinIO, and the Attu graphical management tool.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Step‑by‑Step Guide to Install Milvus Vector Database with Docker Compose

Milvus Vector Database Installation

Milvus Overview

Milvus is an open‑source vector database designed for large‑scale vector data processing and analysis, suitable for machine‑learning, artificial intelligence, computer‑vision, and natural language processing applications.

Main Features

Efficient vector search : supports various high‑performance retrieval algorithms and both memory‑ and disk‑based indexes.

Flexible data model : stores structured and unstructured data in multiple formats.

High concurrency : handles real‑time query loads.

Scalability : horizontal scaling by adding nodes.

Multi‑language SDKs : Python, Java, Go, and C++.

ML framework integration : works with TensorFlow, PyTorch, and other frameworks.

Multiple index types : IVF, HNSW, ANNOY.

Various storage back‑ends : local and cloud storage options.

Application Scenarios

Image & video retrieval : similarity search in computer‑vision.

Natural language processing : text‑vector search and analysis.

Recommendation systems : personalized recommendations via vector similarity.

Bioinformatics : gene and protein data analysis.

Installation

Prepare host directories:

mkdir -p /zpaas/volumes/etcd
mkdir -p /zpaas/volumes/milvus
mkdir -p /zpaas/volumes/minio
chmod 700 /zpaas/volumes/etcd

Create docker-compose-milvus.yml (example omitted for brevity) and start the services:

docker-compose -f docker-compose-milvus.yml up -d

Verify containers are running with docker ps -a | grep milvus.

Attu Installation

Attu is a graphical management tool for Milvus. Deploy it with Docker:

docker run -d \
  --name=attu \
  -p 8000:3000 \
  -e MILVUS_URL=10.10.194.210:19530 \
  hub-nj.iwhalecloud.com/public/attu:v2.3.9

Access Attu at http://x.x.x.x:8000 .

Attu UI screenshot
Attu UI screenshot
Attu UI screenshot 2
Attu UI screenshot 2

MinIO credentials are minioadmin / minioadmin and can be accessed at http://x.x.x.x:9001 .

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DockerAIvector databaseMilvusAttu
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.