
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Moved Permanently
This repository has been moved to https://hub.docker.com/r/ubuntu/alertmanager, where it will continue receiving further updates.
Current Prometheus Alertmanager Docker Image https://ubuntu.com/security/docker-images, based on Ubuntu. Receives security updates and tracks the newest combination of Prometheus Alertmanager and Ubuntu. This repository is free to use and exempted from per-user rate limits.
The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts. Read more on the https://prometheus.io/docs/alerting/latest/alertmanager/.
!https://assets.ubuntu.com/v1/0a5ff561-LTS%402x.png?h=17 Up to 5 years free security maintenance on LTS channels.
!https://assets.ubuntu.com/v1/572f3fbd-ESM%402x.png?h=17
Up to 10 years customer security maintenance from canonical/prometheus-alertmanager. https://ubuntu.com/security/docker-images#get-in-touch.
Tags in italics are not available in ubuntu/prometheus-alertmanager but are shown here for completeness.
| Channel Tag | Currently | Architectures | ||
|---|---|---|---|---|
0.23-22.04_beta | Prometheus Alertmanager 0.23 on Ubuntu 22.04 LTS | amd64, arm64, ppc64el, s390x | ||
track_risk |
Channel Tag shows the most stable channel for that track. A track is a combination of both the application version and the underlying Ubuntu series, eg 1.0-22.04.
Channels are ordered from the most stable to the least stable, candidate, beta, edge.
More risky channels are always implicitly available.
So if beta is listed, you can also pull edge. If candidate is listed, you can pull beta and edge.
When stable is listed, all four are available.
Images are guaranteed to progress through the sequence edge, beta, candidate before stable.
If your usage includes commercial redistribution or requires unavailable channels/versions, please https://ubuntu.com/security/docker-images#get-in-touch (or using ***).
Launch this image locally:
shdocker run -d --name prometheus-alertmanager-container -e TZ=UTC -p 30093:9093 ubuntu/prometheus-alertmanager:0.23-22.04_beta
Access your Prometheus Alertmanager server at localhost:30093.
Parameters
| Parameter | Description |
|---|---|
-e TZ=UTC | Timezone. |
-p 30093:9093 | Expose Prometheus Alertmanager on localhost:30093. |
-v /path/to/alertmanager.yml:/etc/prometheus/alertmanager.yml | Local https://www.prometheus.io/docs/alerting/latest/configuration/ alertmanager.yml (try https://git.launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+git/prometheus-alertmanager/plain/examples/config/alertmanager.yml?h=0.23-22.04). |
-v /path/to/persisted/data:/alertmanager | Persist data instead of initializing a new database for each newly launched container. Important note: the directory you will be using to persist the data needs to belong to nogroup:nobody. You can run chown nogroup:nobody <path_to_persist_data> before launching your container. |
Testing/Debugging
To debug the container:
shdocker logs -f prometheus-alertmanager-container
To get an interactive shell:
shdocker exec -it prometheus-alertmanager-container /bin/bash
Works with any Kubernetes; if you don't have one, we recommend you https://microk8s.io/ and microk8s.enable dns storage then snap alias microk8s.kubectl kubectl.
Download
https://git.launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+git/prometheus-alertmanager/plain/examples/config/alertmanager.yml?h=0.23-22.04 and
https://git.launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+git/prometheus-alertmanager/plain/examples/alertmanager-deployment.yml?h=0.23-22.04 and set containers.prometheus-alertmanager.image in prometheus-alertmanager-deployment.yml to your chosen channel tag (e.g. ubuntu/prometheus-alertmanager:0.23-22.04_beta), then:
shkubectl create configmap alertmanager-config --from-file=alertmanager=alertmanager.yml kubectl apply -f prometheus-alertmanager-deployment.yml
You will now be able to connect to the Prometheus Alertmanager server on localhost:30093.
If you find a bug in our image or want to request a specific feature, please file a bug here:
https://bugs.launchpad.net/ubuntu-docker-images/+filebug
Please title the bug "prometheus-alertmanager: <issue summary>". Make sure to include the digest of the image you are using, from:
shdocker images --no-trunc --quiet ubuntu/prometheus-alertmanager:<tag>
These channels (tags) are not updated anymore. Please upgrade to newer channels, or https://ubuntu.com/security/docker-images#get-in-touch if you can't upgrade.
| Track | Version | EOL | Upgrade Path |
|---|---|---|---|
| Prometheus Alertmanager 0.22.0 on Ubuntu 21.10 | 04/2022 | 0.23-22.04_beta | |
| Prometheus Alertmanager 0.21.0 on Ubuntu 21.04 | 01/2022 | | |
| Prometheus Alertmanager 0.21.0 on Ubuntu 20.04 LTS | 01/2021 | | |
track |
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 ubuntu/prometheus-alertmanager 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: