ubuntu/prometheus

Verified Publisher

By Canonical

Updated 5 months ago

Prometheus is a systems and service monitoring system. Long-term versions maintained by Canonical.

Image
Monitoring & observability
78

1M+

ubuntu/prometheus repository overview

prometheus | Ubuntu

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.

About prometheus

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.

Tags and Architectures

LTS Up to 5 years of free security maintenance on LTS channels.

ESM Up to 10 years of customer security maintenance from Canonical's restricted repositories.

Channel TagsSupported untilCurrentlyArchitectures
2-24.04_stable2-24.04, 2-24.04_beta, 2-24.04_candidate, 2-24.04_edge-prometheus 2 on Ubuntu 24.04 LTSamd64
3-24.04_stable3-24.04, 3-24.04_beta, 3-24.04_candidate, 3-24.04_edge-prometheus 3 on Ubuntu 24.04 LTSamd64
2.50-22.04_stable2.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 LTSamd64
2.46-22.04_stable2.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 LTSamd64
2.33-22.04_betaedge, latest-prometheus 2.33 on Ubuntu 22.04 LTSamd64, s390x, ppc64le, arm64
2.28-21.10_beta2.28-21.10_edge-prometheus 2.28 on Ubuntu 21.10 amd64, s390x, ppc64le, arm64
2.25-21.04_beta2.25-21.04_edge-prometheus 2.25 on Ubuntu 21.04 s390x, arm64, ppc64le, amd64
2.20-20.04_beta2.20-20.04_edge-prometheus 2.20 on Ubuntu 20.04 LTSamd64, s390x, ppc64le, arm64
2.32-20.04_beta2.32-20.04_edge-prometheus 2.32 on Ubuntu 20.04 LTSs390x, ppc64le, amd64, arm64
2.33-22.04_edge2.33-22.04_edge-prometheus 2.33 on Ubuntu 22.04 LTSamd64, 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.

Commercial use and Extended Security Maintenance channels

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]).

Usage

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.

Parameters
ParameterDescription
-e TZ=UTCTimezone.
-p 9090:9090Expose Prometheus on localhost:9090.
-v /path/to/prometheus.yml:/etc/prometheus/prometheus.ymlLocal configuration file prometheus.yml.
-v /path/to/alerts.yml:/etc/prometheus/alerts.ymlLocal alerts configuration file alerts.yml.
Testing/Debugging

To debug the container:

docker logs -f prometheus-container

To get an interactive shell:

docker exec -it prometheus-container /bin/bash
Debugging

To debug the container:

docker logs -f prometheus-container

To get an interactive shell:

docker exec -it prometheus-container /bin/bash

Bugs and feature requests

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: <issue summary>". Make sure to include the digest of the image you are using, from:

docker images --no-trunc --quiet ubuntu/prometheus:<tag>

Deprecated channels & tags

These channels (tags) are not updated anymore. Please upgrade to newer channels, or reach out if you can't upgrade.

TrackVersionEOLUpgrade Path
2.53.3-24.04prometheus 2.53.3 on Ubuntu 24.04 LTS03/2025 -
2.55.1-24.04prometheus 2.55.1 on Ubuntu 24.04 LTS03/2025 -
2.46.0-22.04prometheus 2.46.0 on Ubuntu 22.04 LTS05/2025 -
2.50.1-22.04prometheus 2.50.1 on Ubuntu 22.04 LTS05/2025 -
2.37.0-22.04prometheus 2.37.0 on Ubuntu 22.04 LTS10/2024 -
2.49.1-22.04prometheus 2.49.1 on Ubuntu 22.04 LTS05/2025 -
2.47.2-22.04prometheus 2.47.2 on Ubuntu 22.04 LTS05/2025 -
2.50.0-22.04prometheus 2.50.0 on Ubuntu 22.04 LTS05/2025 -
2.45.0-22.04prometheus 2.45.0 on Ubuntu 22.04 LTS10/2024 -
2.48.0-22.04prometheus 2.48.0 on Ubuntu 22.04 LTS05/2025 -
2.52.0-22.04prometheus 2.52.0 on Ubuntu 22.04 LTS05/2025 -
track

Tag summary

Content type

Image

Digest

sha256:9a1f73522

Size

149.7 MB

Last updated

5 months ago

docker pull ubuntu/prometheus:3-24.04_stable

This week's pulls

Pulls:

2,034

Mar 16 to Mar 22