ubuntu/prometheus Docker Image
普罗米修斯是一款广泛应用于IT领域的系统与服务监控系统,它通过部署在目标环境中的组件对计算机系统、网络服务、应用程序等各类系统及服务的运行状态、资源使用情况、性能表现、故障信息等进行全天候实时监测、数据采集、指标分析与告警通知,为系统运维和管理提供可靠的数据支持,其中长期支持版本由Canonical公司负责持续维护与更新。
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.
| Tags | Supported until | Version | Base | Architectures | |
|---|---|---|---|---|---|
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/2026 | 3.14 | 26.04 | amd64 |
2.33-22.04_beta | aliasesedge, latest | - | 2.33 | 22.04 | amd64, s390x, ppc64le, arm64 |
2.28-21.10_beta | aliases2.28-21.10_edge | - | 2.28 | 21.10 | amd64, s390x, ppc64le, arm64 |
2.25-21.04_beta | aliases2.25-21.04_edge | - | 2.25 | 21.04 | s390x, arm64, ppc64le, amd64 |
2.20-20.04_beta | aliases2.20-20.04_edge | - | 2.20 | 20.04 | amd64, s390x, ppc64le, arm64 |
2.32-20.04_beta | aliases2.32-20.04_edge | - | 2.32 | 20.04 | s390x, ppc64le, amd64, arm64 |
2.33-22.04_edge | aliases2.33-22.04_edge | - | 2.33 | 22.04 | amd64, s390x, ppc64le, arm64 |
View deprecated tags
| Tags | Support ended on | Upgrade Path | |
|---|---|---|---|
3.11-26.04_stable | aliases3.11-26.043.11-26.04_beta3.11-26.04_candidate3.11-26.04_edge | 08/2026 | - |
2-24.04_stable | aliases2-24.042-24.04_beta2-24.04_candidate2-24.04_edge | 05/2025 | - |
2.53.3-24.04_stable | aliases2.53-24.042.53-24.04_beta2.53-24.04_candidate2.53-24.04_edge2.53-24.04_stable2.53.3-24.042.53.3-24.04_beta2.53.3-24.04_candidate2.53.3-24.04_edge | 03/2025 | - |
3.11-24.04_stable | aliases3-24.043-24.04_beta3-24.04_candidate3-24.04_edge3-24.04_stable3.11-24.043.11-24.04_beta3.11-24.04_candidate3.11-24.04_edge | 08/2026 | - |
2.55.1-24.04_stable | aliases2.55-24.042.55-24.04_beta2.55-24.04_candidate2.55-24.04_edge2.55-24.04_stable2.55.1-24.042.55.1-24.04_beta2.55.1-24.04_candidate2.55.1-24.04_edge | 03/2025 | - |
2.46.0-22.04_stable | aliases2.46.0-22.042.46.0-22.04_beta2.46.0-22.04_candidate2.46.0-22.04_edge | 05/2025 | - |
2.50-22.04_stable | aliases2.50-22.042.50-22.04_beta2.50-22.04_candidate2.50-22.04_edge | 03/2025 | - |
2.50.1-22.04_stable | aliases2.50.1-22.042.50.1-22.04_beta2.50.1-22.04_candidate2.50.1-22.04_edge | 05/2025 | - |
2.37.0-22.04_stable | aliases2.37-22.042.37-22.04_beta2.37-22.04_candidate2.37-22.04_edge2.37-22.04_stable2.37.0-22.042.37.0-22.04_beta2.37.0-22.04_candidate2.37.0-22.04_edge | 10/2024 | - |
2.46-22.04_stable | aliases2.46-22.042.46-22.04_beta2.46-22.04_candidate2.46-22.04_edge | 03/2025 | - |
2.49.1-22.04_stable | aliases2.49-22.042.49-22.04_beta2.49-22.04_candidate2.49-22.04_edge2.49-22.04_stable2.49.1-22.042.49.1-22.04_beta2.49.1-22.04_candidate2.49.1-22.04_edge | 05/2025 | - |
2.47.2-22.04_stable | aliases2.47-22.042.47-22.04_beta2.47-22.04_candidate2.47-22.04_edge2.47-22.04_stable2.47.2-22.042.47.2-22.04_beta2.47.2-22.04_candidate2.47.2-22.04_edge | 05/2025 | - |
2.50.0-22.04_stable | aliases2.50.0-22.042.50.0-22.04_beta2.50.0-22.04_candidate2.50.0-22.04_edge | 05/2025 | - |
2.45.0-22.04_stable | aliases2.45-22.042.45-22.04_beta2.45-22.04_candidate2.45-22.04_edge2.45-22.04_stable2.45.0-22.042.45.0-22.04_beta2.45.0-22.04_candidate2.45.0-22.04_edge | 10/2024 | - |
2.48.0-22.04_stable | aliases2.48-22.042.48-22.04_beta2.48-22.04_candidate2.48-22.04_edge2.48-22.04_stable2.48.0-22.042.48.0-22.04_beta2.48.0-22.04_candidate2.48.0-22.04_edge | 05/2025 | - |
2.52.0-22.04_stable | aliases2-22.042-22.04_beta2-22.04_candidate2-22.04_edge2-22.04_stable2.52-22.042.52-22.04_beta2.52-22.04_candidate2.52-22.04_edge2.52-22.04_stable2.52.0-22.042.52.0-22.04_beta2.52.0-22.04_candidate2.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:
shdocker 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:
shdocker 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:
shdocker exec prometheus-container pebble logs
Or, for a specific service:
shdocker exec prometheus-container pebble logs <service>
Monitor health checks
Rocks may have predefined health checks that you can list by running:
shdocker exec prometheus-container pebble checks
The overall health of your container can be inspected via:
shdocker exec prometheus-container pebble health
Configuration
Environment variables
| Option | Description | Default |
|---|---|---|
| TZ | Timezone. | UTC |
Volumes
| Option | Description | Default |
|---|---|---|
-v <path>:/etc/prometheus/prometheus.yml | Local configuration file prometheus.yml. | None |
-v <path>:/etc/prometheus/alerts.yml | Local alerts configuration file alerts.yml. | None |
Ports
| Option | Description | Default |
|---|---|---|
-p <port>:9090 | Expose 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.
ubuntu 命名空间的其他可用镜像:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 prometheus 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务