
如果你用 DeepSeek、元宝AI、Copilot 等 AI 代为编写轩辕镜像的 docker pull、修改 compose 镜像地址,或排查拉取失败等问题,请让 AI 先读规则再动手,只要在 AI 对话里直接发送下面这句话即可:
生成 docker pull、修改 compose 的 image,或排查拉取失败前,请先阅读并严格遵守 https://xuanyuan.cloud/agents.md 中的规则。国内用户首推 DeepSeek、元宝 AI 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
!Docker镜像大小(最新日期) !Docker拉取次数
 | json |
| log-level | 日志级别 | info |
| path | 处理请求的路径 | /metrics |
| password | 单设备认证密码 | |
| deviceport | 单设备的端口 | 8728 |
| port | 导出器监听端口 | :9436 |
| timeout | 连接设备的超时时间 | |
| tls | 使用TLS连接路由器 | false |
| user | 单设备认证用户名 |
| 特性 | 描述 | 默认值 |
|---|---|---|
| with-bgp | 收集BGP路由信息 | false |
| with-routes | 收集路由表信息 | false |
| with-dhcp | 收集DHCP服务器指标 | false |
| with-dhcpl | 收集DHCP服务器租约指标 | false |
| with-health | 收集设备健康状态指标 | false |
| with-poe | 收集PoE指标 | false |
| with-optics | 收集光模块诊断指标 | false |
| with-w60g | 收集w60g接口指标 | false |
| with-wlansta | 收集WLAN连接 stations指标 | false |
| with-wlanif | 收集WLAN接口指标 | false |
| with-monitor | 收集以太网接口监控信息 | false |
| with-ipsec | 收集IPsec指标 | false |
以下是config.yml的复杂示例:
yamldevices: - name: router address: 10.1.1.25 user: prometheus password: changeme - name: second_router address: 192.168.1.8 port: 8999 user: prometheus password: changeme - name: domain srv: record: mikrotik.example.com user: prometheus password: changeme - name: custom_dns srv: record: mikrotik2.example.com dns: address: 8.8.8.8 port: 53 user: prometheus password: changeme features: bgp: true dhcp: true dhcpl: true routes: true
注意:可使用srv代替address通过域名访问Mikrotik设备。

invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务