Install Milvus Standalone

You can install Milvus standalone with Docker Compose or on Kubernetes.

You can also build Milvus from source code.

Installing Milvus with Docker Compose can only be used for testing and cannot be used in production.

Install Milvus Standalone with Docker Compose

  1. Download and save docker-compose.standalone.yml as docker-compose.yml:
wget -O docker-compose.yml
  1. Start Milvus Standalone:
$ docker-compose up -d
Docker Compose is now in the Docker CLI, try `docker compose up`
Creating milvus-etcd  ... done
Creating milvus-minio ... done
Creating milvus-standalone ... done

If Milvus Standalone boots successfully, three running docker containers appear (two infrastructure services and one Milvus service):

$ sudo docker-compose ps
      Name                     Command                  State                          Ports
milvus-etcd         etcd -listen-peer-urls=htt ...   Up (healthy)   2379/tcp, 2380/tcp
milvus-minio        /usr/bin/docker-entrypoint ...   Up (healthy)   9000/tcp
milvus-standalone   /tini -- milvus run standalone   Up   >19530/tcp,:::19530->19530/tcp
To stop Milvus Standalone, run $ sudo docker-compose down.
Is this page helpful?
Scored Successfully!