netapp/controllerTrident Protect Controller 是一个轻量级Docker镜像,专为系统保护与数据安全设计,提供实时监控、故障检测及自动恢复能力,确保关键业务环境的稳定运行和数据完整性。
bashdocker run -d \ --name trident-protect-controller \ --restart always \ -p 8080:8080 \ -e MONITOR_INTERVAL=30 \ -e ALERT_THRESHOLD=90 \ -e RECOVERY_STRATEGY=auto \ -v /host/logs:/app/logs \ trident/protect-controller:latest
yamlversion: '3' services: trident-protect: image: trident/protect-controller:latest container_name: trident-protect-controller restart: always ports: - "8080:8080" environment: - MONITOR_INTERVAL=30 # 监控间隔(秒) - ALERT_THRESHOLD=90 # 告警阈值(%) - RECOVERY_STRATEGY=auto # 恢复策略(auto/manual) - LOG_LEVEL=info # 日志级别(debug/info/warn/error) volumes: - ./logs:/app/logs # 日志持久化 - ./config:/app/config # 配置文件挂载
| 环境变量 | 描述 | 默认值 | 可选值 |
|---|---|---|---|
| MONITOR_INTERVAL | 监控检查间隔(秒) | 30 | 10-300 |
| ALERT_THRESHOLD | 资源使用率告警阈值(%) | 90 | 50-100 |
| RECOVERY_STRATEGY | 故障恢复策略 | auto | auto/manual |
| LOG_LEVEL | 日志输出级别 | info | debug/info/warn/error |
| ALERT_EMAIL | 告警接收*** | - | 有效的***地址 |
| HTTP_PORT | 管理界面端口 | 8080 | 1024-65535 |
默认配置文件路径:/app/config/config.yaml,可通过挂载自定义配置:
yamlmonitor: resources: - cpu - memory - disk services: - name: mysql port: 3306 - name: nginx port: 80 alert: enabled: true methods: - email - webhook recovery: max_attempts: 3 timeout: 120
部署完成后,通过 http://<host-ip>:8080 访问Web管理界面,默认用户名/密码:admin/admin(首次登录需修改)。
/app/logs 目录,建议挂载到宿主机持久化存储docker logs -f trident-protect-controller


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务