🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

Milvus
Zilliz
Home
  • Get Started
  • Home
  • Docs
  • Get Started

  • Install Milvus

  • Run Milvus Standalone

  • Docker (Linux)

Run Milvus in Docker (Linux)

This page illustrates how to launch a Milvus instance in Docker.

Prerequisites

Install Milvus in Docker

Milvus provides an installation script to install it as a docker container. The script is available in the Milvus repository. To install Milvus in Docker, just run

# Download the installation script
$ curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o standalone_embed.sh

# Start the Docker container
$ bash standalone_embed.sh start

If you want to use Backup in standalone deployment mode, it is recommended to use the Docker Compose deployment method.

If you encounter any issues pulling the image, contact us at community@zilliz.com with details about the problem, and we’ll provide you with the necessary support.

After running the installation script:

  • A docker container named milvus has been started at port 19530.
  • An embed etcd is installed along with Milvus in the same container and serves at port 2379. Its configuration file is mapped to embedEtcd.yaml in the current folder.
  • To change the default Milvus configuration, add your settings to the user.yaml file in the current folder and then restart the service.
  • The Milvus data volume is mapped to volumes/milvus in the current folder.

You can access Milvus WebUI at http://127.0.0.1:9091/webui/ to learn more about the your Milvus instance. For details, refer to Milvus WebUI.

Stop and delete Milvus

You can stop and delete this container as follows

# Stop Milvus
$ bash standalone_embed.sh stop

# Delete Milvus data
$ bash standalone_embed.sh delete

You can upgrade the latest version Milvus as follows

# upgrade Milvus
$ bash standalone_embed.sh upgrade

What’s next

Having installed Milvus in Docker, you can:

Office Hours

Milvus Office Hours

Get help with production deployment from Zilliz, the experts on Milvus.

Book a free 1:1 session

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?