docker 安装milvus2.0教程(单机版)
作者:互联网
docker 安装milvus2.0教程(单机版)
-
安装前提
Docker 建议使用 19.03 或以上版本 Docker Compose 建议使用 1.25.1 或以上版本。
-
下载 docker-compose.standalone.yml 配置文件并保存为 docker-compose.yml
wget https://github.com/milvus-io/milvus/releases/download/v2.0.0-rc7/milvus-standalone-docker-compose.yml -O docker-compose.yml
-
启动 Milvus 单机版:
-
镜像拉取速度慢
### 阿里云镜像加速地址 https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors ### 采用阿里云docker加速拉取镜像(Ubuntu) sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://ijwtmjl5.mirror.aliyuncs.com"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker
-
启动
sudo docker-compose up -d ###启动如下 zhongs@ubuntu:~/milvus2.0$ docker-compose up -d Starting milvus-etcd ... done Starting milvus-minio ... done Starting milvus-standalone ... done ###查看服务 zhongs@ubuntu:~/milvus2.0$ sudo docker-compose ps Name Command State Ports ------------------------------------------------------------------------------------------------------------------------- milvus-etcd etcd -advertise-client-url ... Up 2379/tcp, 2380/tcp milvus-minio /usr/bin/docker-entrypoint ... Up (health: starting) 9000/tcp milvus-standalone /tini -- milvus run standalone Up 0.0.0.0:19530->19530/tcp,:::19530->19530/tcp
标签:...,compose,单机版,standalone,tcp,milvus2.0,docker,milvus 来源: https://blog.csdn.net/m0_49501453/article/details/121111290