prometheus

ubuntu/prometheus Docker Image

普罗米修斯是一款广泛应用于IT领域的系统与服务监控系统,它通过部署在目标环境中的组件对计算机系统、网络服务、应用程序等各类系统及服务的运行状态、资源使用情况、性能表现、故障信息等进行全天候实时监测、数据采集、指标分析与告警通知,为系统运维和管理提供可靠的数据支持,其中长期支持版本由Canonical公司负责持续维护与更新。

80 次收藏下载次数: 0状态:社区镜像维护者:Ubuntu 官方镜像仓库类型:镜像最近更新:2 个月前
下载命令
点击查看

ubuntu/prometheus is a rock for prometheus maintained by https://canonical.com/.

Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.

\https://prometheus.io/\]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
3.14-26.04_stable
aliases3-26.04, 3-26.04_beta, 3-26.04_candidate, 3-26.04_edge, 3-26.04_stable, 3.14-26.04, 3.14-26.04_beta, 3.14-26.04_candidate, 3.14-26.04_edge
12/20263.1426.04amd64
2.33-22.04_beta
aliasesedge, latest
-2.3322.04amd64, s390x, ppc64le, arm64
2.28-21.10_beta
aliases2.28-21.10_edge
-2.2821.10amd64, s390x, ppc64le, arm64
2.25-21.04_beta
aliases2.25-21.04_edge
-2.2521.04s390x, arm64, ppc64le, amd64
2.20-20.04_beta
aliases2.20-20.04_edge
-2.2020.04amd64, s390x, ppc64le, arm64
2.32-20.04_beta
aliases2.32-20.04_edge
-2.3220.04s390x, ppc64le, amd64, arm64
2.33-22.04_edge
aliases2.33-22.04_edge
-2.3322.04amd64, s390x, ppc64le, arm64
View deprecated tags
TagsSupport ended onUpgrade Path
3.11-26.04_stable
aliases3.11-26.04, 3.11-26.04_beta, 3.11-26.04_candidate, 3.11-26.04_edge
08/2026 -
2-24.04_stable
aliases2-24.04, 2-24.04_beta, 2-24.04_candidate, 2-24.04_edge
05/2025 -
2.53.3-24.04_stable
aliases2.53-24.04, 2.53-24.04_beta, 2.53-24.04_candidate, 2.53-24.04_edge, 2.53-24.04_stable, 2.53.3-24.04, 2.53.3-24.04_beta, 2.53.3-24.04_candidate, 2.53.3-24.04_edge
03/2025 -
3.11-24.04_stable
aliases3-24.04, 3-24.04_beta, 3-24.04_candidate, 3-24.04_edge, 3-24.04_stable, 3.11-24.04, 3.11-24.04_beta, 3.11-24.04_candidate, 3.11-24.04_edge
08/2026 -
2.55.1-24.04_stable
aliases2.55-24.04, 2.55-24.04_beta, 2.55-24.04_candidate, 2.55-24.04_edge, 2.55-24.04_stable, 2.55.1-24.04, 2.55.1-24.04_beta, 2.55.1-24.04_candidate, 2.55.1-24.04_edge
03/2025 -
2.46.0-22.04_stable
aliases2.46.0-22.04, 2.46.0-22.04_beta, 2.46.0-22.04_candidate, 2.46.0-22.04_edge
05/2025 -
2.50-22.04_stable
aliases2.50-22.04, 2.50-22.04_beta, 2.50-22.04_candidate, 2.50-22.04_edge
03/2025 -
2.50.1-22.04_stable
aliases2.50.1-22.04, 2.50.1-22.04_beta, 2.50.1-22.04_candidate, 2.50.1-22.04_edge
05/2025 -
2.37.0-22.04_stable
aliases2.37-22.04, 2.37-22.04_beta, 2.37-22.04_candidate, 2.37-22.04_edge, 2.37-22.04_stable, 2.37.0-22.04, 2.37.0-22.04_beta, 2.37.0-22.04_candidate, 2.37.0-22.04_edge
10/2024 -
2.46-22.04_stable
aliases2.46-22.04, 2.46-22.04_beta, 2.46-22.04_candidate, 2.46-22.04_edge
03/2025 -
2.49.1-22.04_stable
aliases2.49-22.04, 2.49-22.04_beta, 2.49-22.04_candidate, 2.49-22.04_edge, 2.49-22.04_stable, 2.49.1-22.04, 2.49.1-22.04_beta, 2.49.1-22.04_candidate, 2.49.1-22.04_edge
05/2025 -
2.47.2-22.04_stable
aliases2.47-22.04, 2.47-22.04_beta, 2.47-22.04_candidate, 2.47-22.04_edge, 2.47-22.04_stable, 2.47.2-22.04, 2.47.2-22.04_beta, 2.47.2-22.04_candidate, 2.47.2-22.04_edge
05/2025 -
2.50.0-22.04_stable
aliases2.50.0-22.04, 2.50.0-22.04_beta, 2.50.0-22.04_candidate, 2.50.0-22.04_edge
05/2025 -
2.45.0-22.04_stable
aliases2.45-22.04, 2.45-22.04_beta, 2.45-22.04_candidate, 2.45-22.04_edge, 2.45-22.04_stable, 2.45.0-22.04, 2.45.0-22.04_beta, 2.45.0-22.04_candidate, 2.45.0-22.04_edge
10/2024 -
2.48.0-22.04_stable
aliases2.48-22.04, 2.48-22.04_beta, 2.48-22.04_candidate, 2.48-22.04_edge, 2.48-22.04_stable, 2.48.0-22.04, 2.48.0-22.04_beta, 2.48.0-22.04_candidate, 2.48.0-22.04_edge
05/2025 -
2.52.0-22.04_stable
aliases2-22.04, 2-22.04_beta, 2-22.04_candidate, 2-22.04_edge, 2-22.04_stable, 2.52-22.04, 2.52-22.04_beta, 2.52-22.04_candidate, 2.52-22.04_edge, 2.52-22.04_stable, 2.52.0-22.04, 2.52.0-22.04_beta, 2.52.0-22.04_candidate, 2.52.0-22.04_edge
05/2025 -

Get started

This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.

\https://documentation.ubuntu.com/pebble/\]

Inspect

To view the https://documentation.ubuntu.com/rockcraft/en/latest/reference/rockcraft-yaml/#services and https://documentation.ubuntu.com/rockcraft/latest/reference/rockcraft-yaml/#checks defined in this rock:

sh
docker run --rm ubuntu/prometheus:3.11-26.04_stable plan

Run

To run this rock, use any of the usual container runtimes, for example, docker:

sh
docker run --name prometheus-container \
    -p 9090:9090 \
    ubuntu/prometheus:3.11-26.04_stable

Prometheus starts on port 9090. Access your Prometheus instance at http://localhost:9090.

Get logs

To view the logs of the running container, run:

sh
docker exec prometheus-container pebble logs

Or, for a specific service:

sh
docker exec prometheus-container pebble logs <service>

Monitor health checks

Rocks may have predefined health checks that you can list by running:

sh
docker exec prometheus-container pebble checks

The overall health of your container can be inspected via:

sh
docker exec prometheus-container pebble health

Configuration

Environment variables

OptionDescriptionDefault
TZTimezone.UTC

Volumes

OptionDescriptionDefault
-v <path>:/etc/prometheus/prometheus.ymlLocal configuration file prometheus.yml.None
-v <path>:/etc/prometheus/alerts.ymlLocal alerts configuration file alerts.yml.None

Ports

OptionDescriptionDefault
-p <port>:9090Expose Prometheus on localhost:9090.None

\https://github.com/canonical/prometheus-rock/issues\] \https://github.com/canonical/prometheus-rock\]

Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with https://canonical.com/legal/intellectual-property-policy.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 prometheus 镜像标签

docker pull docker.xuanyuan.run/ubuntu/prometheus:<标签>

DockerHub 原生拉取命令

docker pull ubuntu/prometheus:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告