ubuntu/grafana

Verified Publisher

By Canonical

Updated 2 months ago

Grafana, a feature rich metrics dashboard & graph editor. Long-term tracks maintained by Canonical.

Image
Monitoring & observability
12

100K+

ubuntu/grafana repository overview

ubuntu/grafana is a rock for grafana maintained by Canonical.

Grafana is a feature rich metrics dashboard and graph editor for Cloudwatch, Elasticsearch, Graphite, InfluxDB, OpenTSB, Prometheus and Hosted Metrics.

Please note that the images tagged up to 8.2 are Dockerfile-based images, whereas from version 10.0.3 onward the images are now rocks. As such the entrypoint is now Pebble.

[Learn more about grafana]

Tags and Architectures

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

TagsSupported untilVersionBaseArchitectures
12.4-24.04_stable
aliases12-24.04, 12-24.04_beta, 12-24.04_candidate, 12-24.04_edge, 12-24.04_stable, 12.4-24.04, 12.4-24.04_beta, 12.4-24.04_candidate, 12.4-24.04_edge
07/202612.424.04amd64
8.2-22.04_beta
aliases8.2-22.04_edge, edge, latest
-8.222.04amd64, s390x, ppc64le, arm64
8.1-21.10_beta
aliases8.1-21.10_edge
-8.121.10ppc64le, s390x, amd64, arm64
7.4-21.04_beta
aliases7.4-21.04_edge
-7.421.04s390x, ppc64le, amd64, arm64
7.2-20.04_beta
aliases7.2-20.04_edge
-7.220.04amd64, s390x, ppc64le, arm64
12.4-26.04_edge
aliases12-26.04_edge
05/203112.426.04amd64
9.2-22.04_edge
aliases9.2-22.04_edge
-9.222.04ppc64le, amd64, arm64
View deprecated tags
TagsSupport ended onUpgrade Path
9.5-24.04_stable
aliases9-24.04, 9-24.04_beta, 9-24.04_candidate, 9-24.04_edge, 9-24.04_stable, 9.5-24.04, 9.5-24.04_beta, 9.5-24.04_candidate, 9.5-24.04_edge
01/2026 -
11.6-24.04_stable
aliases11-24.04, 11-24.04_beta, 11-24.04_candidate, 11-24.04_edge, 11-24.04_stable, 11.6-24.04, 11.6-24.04_beta, 11.6-24.04_candidate, 11.6-24.04_edge
11/2025 -
12.0-24.04_stable
aliases12.0-24.04, 12.0-24.04_beta, 12.0-24.04_candidate, 12.0-24.04_edge
11/2025 -
10.4.0-22.04_stable
aliases10.4.0-22.04, 10.4.0-22.04_beta, 10.4.0-22.04_candidate, 10.4.0-22.04_edge
03/2025 -
10.3.1-22.04_stable
aliases10.3.1-22.04, 10.3.1-22.04_beta, 10.3.1-22.04_candidate, 10.3.1-22.04_edge
03/2025 -
11.0.0-22.04_stable
aliases11-22.04, 11-22.04_beta, 11-22.04_candidate, 11-22.04_edge, 11-22.04_stable, 11.0-22.04, 11.0-22.04_beta, 11.0-22.04_candidate, 11.0-22.04_edge, 11.0-22.04_stable, 11.0.0-22.04, 11.0.0-22.04_beta, 11.0.0-22.04_candidate, 11.0.0-22.04_edge
05/2025 -
10.2.0-22.04_stable
aliases10.2.0-22.04, 10.2.0-22.04_beta, 10.2.0-22.04_candidate, 10.2.0-22.04_edge
03/2025 -
10.4.2-22.04_stable
aliases10-22.04, 10-22.04_beta, 10-22.04_candidate, 10-22.04_edge, 10-22.04_stable, 10.4-22.04, 10.4-22.04_beta, 10.4-22.04_candidate, 10.4-22.04_edge, 10.4-22.04_stable, 10.4.2-22.04, 10.4.2-22.04_beta, 10.4.2-22.04_candidate, 10.4.2-22.04_edge
05/2025 -
10.0.3-22.04_stable
aliases10.0-22.04, 10.0-22.04_beta, 10.0-22.04_candidate, 10.0-22.04_edge, 10.0-22.04_stable, 10.0.3-22.04, 10.0.3-22.04_beta, 10.0.3-22.04_candidate, 10.0.3-22.04_edge
03/2025 -
10.2.3-22.04_stable
aliases10.2-22.04, 10.2-22.04_beta, 10.2-22.04_candidate, 10.2-22.04_edge, 10.2-22.04_stable, 10.2.3-22.04, 10.2.3-22.04_beta, 10.2.3-22.04_candidate, 10.2.3-22.04_edge
03/2025 -
10.3.3-22.04_stable
aliases10.3-22.04, 10.3-22.04_beta, 10.3-22.04_candidate, 10.3-22.04_edge, 10.3-22.04_stable, 10.3.3-22.04, 10.3.3-22.04_beta, 10.3.3-22.04_candidate, 10.3.3-22.04_edge
03/2025 -
9.5.3-22.04_stable
aliases9-22.04, 9-22.04_beta, 9-22.04_candidate, 9-22.04_edge, 9-22.04_stable, 9.5-22.04, 9.5-22.04_beta, 9.5-22.04_candidate, 9.5-22.04_edge, 9.5-22.04_stable, 9.5.3-22.04, 9.5.3-22.04_beta, 9.5.3-22.04_candidate, 9.5.3-22.04_edge
03/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.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/grafana:9.5-24.04_stable plan
Run

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

docker run --name grafana-container \
    -p 3000:3000 \
    ubuntu/grafana:9.5-24.04_stable

Access the Grafana web UI at http://localhost:3000.

Get logs

To view the logs of the running container, run:

docker exec grafana-container pebble logs

Or, for a specific service:

docker exec grafana-container pebble logs <service>
Monitor health checks

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

docker exec grafana-container pebble checks

The overall health of your container can be inspected via:

docker exec grafana-container pebble health

Configuration

Environment variables
OptionDescriptionDefault
TZTimezone.UTC
Volumes
OptionDescriptionDefault
-v <path>:/etc/grafana/provisioning/Directory to provision Grafana (see documentation).None
-v <path>:/var/lib/grafanaPersist data with a volume instead of initializing a new database for each newly launched container.None
Ports
OptionDescriptionDefault
-p <port>:3000Exposes the container's port 3000 on the host's <port>.None

[Report a bug] [Contribute]

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 Canonical’s IP Policy.

Tag summary

Content type

Image

Digest

sha256:1af2d3519

Size

242.9 MB

Last updated

2 months ago

docker pull ubuntu/grafana:12.4-26.04_edge

This week's pulls

Pulls:

701

Last week