镜像概述
本镜像基于GitHub源https://github.com/prometheus/alertmanager%E6%9E%84%E5%BB%BA%EF%BC%8C%E7%94%A8%E4%BA%8E%E5%A4%84%E7%90%86%E5%92%8C%E7%AE%A1%E7%90%86Prometheus%E7%9B%91%E6%8E%A7%E7%B3%BB%E7%BB%9F%E4%BA%A7%E7%94%9F%E7%9A%84%E5%91%8A%E8%AD%A6%E3%80%82%E9%95%9C%E5%83%8F%E5%9F%BA%E4%BA%8EBusyBox%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%EF%BC%8C%E4%BB%A5%E9%9D%9Eroot%E7%94%A8%E6%88%B7(nobody)%E8%BF%90%E8%A1%8C%EF%BC%8C%E7%A1%AE%E4%BF%9D%E5%AE%89%E5%85%A8%E6%80%A7%E3%80%82
核心功能与特性
基础信息
- 操作系统:https://hub.docker.com/_/busybox
- 运行用户:nobody (UID: 65534)
- 运行组:nogroup (GID: 65534)
- 二进制文件位置:/usr/sbin/
- 存储路径:/data/(用于持久化数据)
- 配置路径:/etc/alertmanager/(用于存放配置文件)
架构支持
支持多种硬件架构:
arm32v5
arm32v7
arm64v8
amd64
ppc64le
s390x
i386
支持的标签及Dockerfile链接
- https://github.com/anzevalher/alertmanager (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.20.0-rc.0, https://github.com/anzevalher/alertmanager/tree/v0.20.0-rc.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.19.0, https://github.com/anzevalher/alertmanager/tree/v0.19.0, https://github.com/anzevalher/alertmanager/tree/v0.19.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.19.0-rc.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.18.0, https://github.com/anzevalher/alertmanager/tree/v0.18.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.18.0-rc.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.17.0, https://github.com/anzevalher/alertmanager/tree/v0.17.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.16.2, https://github.com/anzevalher/alertmanager/tree/v0.16.2 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.16.1 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.16.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.3, https://github.com/anzevalher/alertmanager/tree/v0.15.3 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.2 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.1 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.0-rc.3 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.0-rc.2 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.0-rc.1 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.15.0-rc.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.14.0, https://github.com/anzevalher/alertmanager/tree/v0.14.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.13.0, https://github.com/anzevalher/alertmanager/tree/v0.13.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.12.0, https://github.com/anzevalher/alertmanager/tree/v0.12.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.11.0, https://github.com/anzevalher/alertmanager/tree/v0.11.0 (Dockerfile)
- https://github.com/anzevalher/alertmanager/tree/v0.10.0, https://github.com/anzevalher/alertmanager/tree/v0.10.0 (Dockerfile)
使用方法
基本运行命令
bash
docker run -d \
--name alertmanager \
-p 9093:9093 \
-v /path/to/alertmanager/config:/etc/alertmanager \
-v /path/to/alertmanager/data:/data \
anzevalher/alertmanager:latest
参数说明
-p 9093:9093:映射Alertmanager的默认端口
-v /path/to/alertmanager/config:/etc/alertmanager:挂载本地配置目录到容器配置路径
-v /path/to/alertmanager/data:/data:挂载本地数据目录到容器存储路径,实现数据持久化
参考与支持
- 获取帮助:https://github.com/prometheus/alertmanager
- 提交issue:https://github.com/anzevalher/alertmanager
- 维护者:https://github.com/anzevalher/