ubuntu/grafana

Verified Publisher

By Canonical

Updated 9 months ago

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

Image
Monitoring & Observability
12

100K+

grafana | Ubuntu

Current grafana Docker Image from Canonical, based on Ubuntu. Receives security updates and rolls to newer grafana or Ubuntu release. This repository is free to use and exempted from per-user rate limits.

About grafana

Grafana is a feature rich metrics dashboard and graph editor for Cloudwatch, Elasticsearch, Graphite, InfluxDB, OpenTSB, Prometheus and Hosted Metrics. Read more on the Grafana website. 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. Read more on the Rockcraft docs.

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
10.4.2-22.04_stable10-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_edge05/2025grafana 10.4.2 on Ubuntu 22.04 LTSamd64
10.3.3-22.04_stable10.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_edge03/2025grafana 10.3.3 on Ubuntu 22.04 LTSamd64
10.3.1-22.04_stable10.3.1-22.04, 10.3.1-22.04_beta, 10.3.1-22.04_candidate, 10.3.1-22.04_edge03/2025grafana 10.3.1 on Ubuntu 22.04 LTSamd64
10.2.0-22.04_stable10.2.0-22.04, 10.2.0-22.04_beta, 10.2.0-22.04_candidate, 10.2.0-22.04_edge03/2025grafana 10.2.0 on Ubuntu 22.04 LTSamd64
10.2.3-22.04_stable10.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_edge03/2025grafana 10.2.3 on Ubuntu 22.04 LTSamd64
11.0.0-22.04_stable11-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_edge05/2025grafana 11.0.0 on Ubuntu 22.04 LTSamd64
9.5.3-22.04_stable9-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_edge03/2025grafana 9.5.3 on Ubuntu 22.04 LTSamd64
10.4.0-22.04_stable10.4.0-22.04, 10.4.0-22.04_beta, 10.4.0-22.04_candidate, 10.4.0-22.04_edge03/2025grafana 10.4.0 on Ubuntu 22.04 LTSamd64
10.0.3-22.04_stable10.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_edge03/2025grafana 10.0.3 on Ubuntu 22.04 LTSamd64
8.2-22.04_beta8.2-22.04_edge, edge, latest-grafana 8.2 on Ubuntu 22.04 LTSamd64, s390x, ppc64le, arm64
8.1-21.10_beta8.1-21.10_edge-grafana 8.1 on Ubuntu 21.10 ppc64le, s390x, amd64, arm64
7.4-21.04_beta7.4-21.04_edge-grafana 7.4 on Ubuntu 21.04 s390x, ppc64le, amd64, arm64
7.2-20.04_beta7.2-20.04_edge-grafana 7.2 on Ubuntu 20.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 rocks@canonical.com).

Usage

Launch this image locally:

docker run -d --name grafana-container -e TZ=UTC -p 3000:3000 ubuntu/grafana:10.4.2-22.04_stable

Access your Grafana instance at http://localhost:3000.

Parameters

ParameterDescription
-e TZ=UTCTimezone.
-p 3000:3000Expose Grafana on localhost:3000.
-v /path/to/grafana/provisioning/files/:/etc/grafana/provisioning/Directory to provision Grafana (see documentation)`.
-v /path/to/persisted/data:/var/lib/grafanaPersist data with a volume instead of initializing a new database for each newly launched container.

Testing/Debugging

To debug the container:

docker logs -f grafana-container

To get an interactive shell:

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

To debug the container:

docker logs -f grafana-container

To get an interactive shell:

# For Dockerfile-based images
docker exec -it grafana-container /bin/bash
# For rocks
docker exec -it grafana-container exec /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 "grafana: <issue summary>". Make sure to include the digest of the image you are using, from:

docker images --no-trunc --quiet ubuntu/grafana:<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
track

Docker Pull Command

docker pull ubuntu/grafana