Install Milvus Offline

This page will show you how to install Milvus in offline environment. Relevant files can be downloaded at GitHub.

Download Docker Images

Installation of Milvus may fail when images are not properly loaded from public Docker registries. To install Milvus offline, you need to pull all images and save them into a directory that can be moved to the target host and loaded manually.

  1. Download Milvus docker-compose.yml:
  • For Milvus standalone
wget -O docker-compose.yml
  • For Milvus cluster
wget -O docker-compose.yml
  1. Pull and save the Docker images:
pip3 install -r requirements.txt
python3 --manifest docker-compose.yml
The Docker images will be stored under images directory.
  1. Load the Docker images:
cd images/for image in $(find . -type f -name "*.tar.gz") ; do gunzip -c $image | docker load; done

Install Milvus

To install Milvus offline, run:

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

Uninstall Milvus

To Uninstall Milvus, run:

docker-compose -f docker-compose.yml down
Is this page helpful?
Scored Successfully!