Prometheus is a systems and service monitoring system. Long-term versions maintained by Canonical.
1M+
Current prometheus Docker Image from Canonical, based on Ubuntu. Receives security updates and rolls to newer prometheus or Ubuntu release. This repository is free to use and exempted from per-user rate limits.
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. Read more on the prometheus website.
Up to 5 years of free security maintenance on LTS channels.
Up to 10 years of customer security maintenance from Canonical's restricted repositories.
| Channel Tags | Supported until | Currently | Architectures | |
|---|---|---|---|---|
2-24.04_stable | 2-24.04, 2-24.04_beta, 2-24.04_candidate, 2-24.04_edge | - | prometheus 2 on Ubuntu 24.04 LTS | amd64 |
3-24.04_stable | 3-24.04, 3-24.04_beta, 3-24.04_candidate, 3-24.04_edge | - | prometheus 3 on Ubuntu 24.04 LTS | amd64 |
2.50-22.04_stable | 2.50-22.04, 2.50-22.04_beta, 2.50-22.04_candidate, 2.50-22.04_edge | - | prometheus 2.50 on Ubuntu 22.04 LTS | amd64 |
2.46-22.04_stable | 2.46-22.04, 2.46-22.04_beta, 2.46-22.04_candidate, 2.46-22.04_edge | - | prometheus 2.46 on Ubuntu 22.04 LTS | amd64 |
2.33-22.04_beta | edge, latest | - | prometheus 2.33 on Ubuntu 22.04 LTS | amd64, s390x, ppc64le, arm64 |
2.28-21.10_beta | 2.28-21.10_edge | - | prometheus 2.28 on Ubuntu 21.10 | amd64, s390x, ppc64le, arm64 |
2.25-21.04_beta | 2.25-21.04_edge | - | prometheus 2.25 on Ubuntu 21.04 | s390x, arm64, ppc64le, amd64 |
2.20-20.04_beta | 2.20-20.04_edge | - | prometheus 2.20 on Ubuntu 20.04 LTS | amd64, s390x, ppc64le, arm64 |
2.32-20.04_beta | 2.32-20.04_edge | - | prometheus 2.32 on Ubuntu 20.04 LTS | s390x, ppc64le, amd64, arm64 |
2.33-22.04_edge | 2.33-22.04_edge | - | prometheus 2.33 on Ubuntu 22.04 LTS | amd64, s390x, ppc64le, arm64 |
track_risk |
Channel Tags shows the most stable channel for that track ordered 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 ESM or unavailable channels/versions, please get in touch with the Canonical team (or using [email protected]).
Launch this image locally:
docker run -d --name prometheus-container -e TZ=UTC -p 9090:9090 ubuntu/prometheus:2-24.04_stable
Access your Prometheus instance at http://localhost:9090.
| Parameter | Description |
|---|---|
-e TZ=UTC | Timezone. |
-p 9090:9090 | Expose Prometheus on localhost:9090. |
-v /path/to/prometheus.yml:/etc/prometheus/prometheus.yml | Local configuration file prometheus.yml. |
-v /path/to/alerts.yml:/etc/prometheus/alerts.yml | Local alerts configuration file alerts.yml. |
To debug the container:
docker logs -f prometheus-container
To get an interactive shell:
docker exec -it prometheus-container /bin/bash
To debug the container:
docker logs -f prometheus-container
To get an interactive shell:
docker exec -it prometheus-container /bin/bash
If you find a bug in our image or want to request a specific feature, please file a bug here:
Please title the bug "prometheus: <issue summary>". Make sure to include the digest of the image you are using, from:
docker images --no-trunc --quiet ubuntu/prometheus:<tag>
These channels (tags) are not updated anymore. Please upgrade to newer channels, or reach out if you can't upgrade.
| Track | Version | EOL | Upgrade Path |
|---|---|---|---|
| prometheus 2.53.3 on Ubuntu 24.04 LTS | 03/2025 | - | |
| prometheus 2.55.1 on Ubuntu 24.04 LTS | 03/2025 | - | |
| prometheus 2.46.0 on Ubuntu 22.04 LTS | 05/2025 | - | |
| prometheus 2.50.1 on Ubuntu 22.04 LTS | 05/2025 | - | |
| prometheus 2.37.0 on Ubuntu 22.04 LTS | 10/2024 | - | |
| prometheus 2.49.1 on Ubuntu 22.04 LTS | 05/2025 | - | |
| prometheus 2.47.2 on Ubuntu 22.04 LTS | 05/2025 | - | |
| prometheus 2.50.0 on Ubuntu 22.04 LTS | 05/2025 | - | |
| prometheus 2.45.0 on Ubuntu 22.04 LTS | 10/2024 | - | |
| prometheus 2.48.0 on Ubuntu 22.04 LTS | 05/2025 | - | |
| prometheus 2.52.0 on Ubuntu 22.04 LTS | 05/2025 | - | |
track |
Content type
Image
Digest
sha256:9a1f73522…
Size
149.7 MB
Last updated
5 months ago
docker pull ubuntu/prometheus:3-24.04_stablePulls:
2,034
Mar 16 to Mar 22