milvus: 安装attu
一,官方代码地址:
https://github.com/zilliztech/attu
二,docker方式安装/运行:
# docker run -p 13000:3000 -e MILVUS_URL=127.0.0.1:19530 zilliz/attu:latest
如下:
# docker run -p 13000:3000 -e MILVUS_URL=127.0.0.1:19530 zilliz/attu:latest
Unable to find image 'zilliz/attu:latest' locally
latest: Pulling from zilliz/attu
1adabd6b0d6b: Pull complete
a6653fee0b02: Pull complete
b2fce1ab810a: Pull complete
77b7c6f76144: Pull complete
427deb858cff: Pull complete
8b51db654ecf: Pull complete
45d65a4ff088: Pull complete
59b3de4a9ac0: Pull complete
97401d6de050: Pull complete
44ab219c1d71: Pull complete
f95e7a175198: Pull complete
efb9c2720504: Pull complete
Digest: sha256:1d84d40b2b5f537de7a6cb3684cb9c6e89d3178266f6986cbe004efb5fe0d7b7
Status: Downloaded newer image for zilliz/attu:latest
yarn run v1.22.22
$ node dist/src/app.js
Attu server started: http://172.17.0.2:3000
三,从浏览器访问:
访问:
http://127.0.0.1:13000/
如图:

注意:
此处访问可能会报错如下:
POST /api/v1/milvus/connect 401 Error: 14 UNAVAILABLE: No connection established (retried 3 times, 156ms)
原因:我们的attu是在docker中运行,此处的127.0.0.1会不起作用,替换成本地ip即可:
例如: 192.168.204.167
192.168.204.167
进入后如下:

浙公网安备 33010602011771号