精简版命令:
docker run -d \
--name milvus-standalone \
--user root \
--restart always \
-p 19530:19530 \
-p 9091:9091 \
-e ETCD_ENDPOINTS=192.168.5.101:2379 \
-e COMMON_STORAGETYPE=local \
-v /share/CACHEDEV1_DATA/VOL2/container/milvus:/var/lib/milvus \
milvusdb/milvus:v3.0.2 \
milvus run standalone
标准轻量命令:
docker run -d \
--name milvus-standalone \
--security-opt seccomp:unconfined \
-e ETCD_USE_EMBED=true \
-e ETCD_DATA_DIR=/var/lib/milvus/etcd \
-e COMMON_STORAGETYPE=local \
-e DEPLOY_MODE=STANDALONE \
-v /share/CACHEDEV1_DATA/VOL2/container/milvus:/var/lib/milvus \
-p 19530:19530 \
-p 9091:9091 \
-e ETCD_ENDPOINTS=192.168.5.101:2379 \
--health-cmd="curl -f http://localhost:9091/healthz" \
--health-interval=30s \
--health-start-period=90s \
--health-timeout=20s \
--health-retries=3 \
milvusdb/milvus:v3.0.2 \
milvus run standalone
验证:
curl -f http://localhost:9091/healthz
THE END






















暂无评论内容