
zilliz/attu
Attu是Milvus的一站式管理工具,提供图形化界面用于监控、管理和操作Milvus向量数据库,可显著降低Milvus的管理成本,支持Milvus 2.x版本,兼容Zilliz Cloud及自建Milvus服务。
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Attu
![typescript]([***]
Attu is an all-in-one milvus administration tool. With Attu, you can dramatically reduce the cost of managing milvus.
Installation Guides
Before you begin, make sure that you have Milvus installed on either Zilliz Cloud or your own server.
Compatibility
| Milvus Version | Recommended Attu Version |
|---|---|
| 2.5.x | https://github.com/zilliztech/attu/releases/tag/v2.5.6 |
| 2.4.x | https://github.com/zilliztech/attu/releases/tag/v2.4.12 |
| 2.3.x | https://github.com/zilliztech/attu/releases/tag/v2.3.5 |
| 2.2.x | https://github.com/zilliztech/attu/releases/tag/v2.2.8 |
| 2.1.x | https://github.com/zilliztech/attu/releases/tag/v2.2.2 |
Running Attu from Docker
Here are the steps to start a container for running Attu:
codedocker run -p 8000:3000 -e MILVUS_URL={milvus server IP}:19530 zilliz/attu:v2.4
Make sure that the Attu container can access the Milvus IP address. After starting the container, open your web browser and enter http://{ Attu IP }:8000 to view the Attu GUI.
Optional Environment Variables for Running Attu Docker
| Parameter | Example | Required | Description |
|---|---|---|---|
| MILVUS_URL | 192.168.0.1:*** | false | Optional, Milvus server URL |
| ATTU_LOG_LEVEL | info | false | Optional, sets the log level for Attu |
| ROOT_CERT_PATH | /path/to/root/cert | false | Optional, path to the root certificate |
| PRIVATE_KEY_PATH | /path/to/private/key | false | Optional, path to the private key |
| CERT_CHAIN_PATH | /path/to/cert/chain | false | Optional, path to the certificate chain |
| SERVER_NAME | your_server_name | false | Optional, name of your server |
| SERVER_PORT | Server listen port | false | Optional, 3000 by default if unset |
Please note that the
MILVUS_URLshould be an address that the Attu Docker container can access. Therefore, "127.0.0.1" or "localhost" will not work.
To run the Docker container with these environment variables, use the following command:
Attu SSL Example
bashdocker run -p 8000:3000 \ -v /your-tls-file-path:/app/tls \ -e ATTU_LOG_LEVEL=info \ -e ROOT_CERT_PATH=/app/tls/ca.pem \ -e PRIVATE_KEY_PATH=/app/tls/client.key \ -e CERT_CHAIN_PATH=/app/tls/client.pem \ -e SERVER_NAME=your_server_name \ zilliz/attu:dev
Custom Server Port Example
This command lets you run the docker container with host networking, specifying a custom port for the server to listen on
bashdocker run --network host \ -v /your-tls-file-path:/app/tls \ -e ATTU_LOG_LEVEL=info \ -e SERVER_NAME=your_server_name \ -e SERVER_PORT=8080 \ zilliz/attu:dev
Running Attu within Kubernetes
Before you begin, make sure that you have Milvus installed and running within your K8's Cluster. Note that Attu only supports Milvus 2.x.
Here are the steps to start a container for running Attu:
codekubectl apply -f https://raw.githubusercontent.com/zilliztech/attu/main/attu-k8s-deploy.yaml
Make sure that the Attu pod can access the Milvus service. In the example provided this connects directly to my-release-milvus:19530. Change this based on the Milvus service name. A more flexible way to achieve this would be to introduce a ConfigMap. See this example for details.
Install Desktop application
If you prefer to use a desktop application, you can download the https://github.com/zilliztech/attu/releases/.
Build Docker Image Locally
- Dev:
yarn run build:dev - Release:
yarn run build:release
FAQ
- I can't log into the system
Make sure that the IP address of the Milvus server can be accessed from the Attu container. https://github.com/zilliztech/attu/issues/161
- TBD
More Screenshots
| Data view | collection tree |
|---|---|
| create collection | vector search |
|---|---|
✨ Contributing Code
Thank you for your interest in contributing to Attu! Here's how you can build Attu locally to contribute code, test out the latest features, or try out an open PR:
Build the Server
- Fork and clone the Attu repository.
- Navigate to the server directory by running
cd serverin the terminal. - Install dependencies by running
yarn install. - To start the server in development mode, run
yarn start. - Create a new branch for your PR by running
git checkout -b my-branch.
Build the Client
- Fork and clone the Attu repository.
- Navigate to the client directory by running
cd clientin the terminal. - Install dependencies by running
yarn install. - To start the server in development mode, run
yarn start. - Create a new branch for your PR by running
git checkout -b my-branch.
Submitting a Pull Request
- Make changes and ensure that tests pass.
- Commit changes and push to your fork.
- Create a Pull Request targeting the main branch of Attu.
We appreciate your contributions to Attu, regardless of size. Thanks for supporting the project!
❓ Do you have any questions or problems?
If you encounter any bugs or want to request a new feature, please create a https://github.com/zilliztech/attu/issues/new/choose. It's important to check if someone else has already created an issue for the same problem before submitting a new one.
Userful links
Here are some helpful resources to get you started with Milvus:
- Milvus documentation: Here, you can find detailed information on how to use Milvus, including installation instructions, tutorials, and API documentation.
- https://github.com/milvus-io/pymilvus: The Python SDK allows you to interact with Milvus using Python. It provides a simple and intuitive interface for creating and querying vectors.
- https://github.com/milvus-io/milvus-sdk-java: The Java SDK is similar to the Python SDK but designed for Java developers. It also provides a simple and intuitive interface for creating and querying vectors.
- https://github.com/milvus-io/milvus-sdk-go: The Go SDK provides a Go API for Milvus. If you're a Go developer, this is the SDK for you.
- https://github.com/milvus-io/milvus-sdk-node: The Node SDK provides a Node.js API for Milvus. If you're a Node.js developer, this is the SDK for you.
- https://github.com/zilliztech/feder: Feder is a JavaScript tool designed to aid in the comprehension of embedding vectors.
Community
💬 Join our vibrant community on the Milvus *** where you can share your knowledge, ask questions and engage in meaningful conversations. It's not just about coding, it's about connecting with other like-minded individuals. Click the link below to join now!
Deployment & Usage Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
镜像拉取常见问题
功能
错误码
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务