ubuntu/grafana
Grafana, a feature rich metrics dashboard & graph editor. Long-term tracks maintained by Canonical.
100K+
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.
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.
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 | |
---|---|---|---|---|
10.4.2-22.04_stable | 10-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 | grafana 10.4.2 on Ubuntu 22.04 LTS | amd64 |
10.3.3-22.04_stable | 10.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 | grafana 10.3.3 on Ubuntu 22.04 LTS | amd64 |
10.3.1-22.04_stable | 10.3.1-22.04 , 10.3.1-22.04_beta , 10.3.1-22.04_candidate , 10.3.1-22.04_edge | 03/2025 | grafana 10.3.1 on Ubuntu 22.04 LTS | amd64 |
10.2.0-22.04_stable | 10.2.0-22.04 , 10.2.0-22.04_beta , 10.2.0-22.04_candidate , 10.2.0-22.04_edge | 03/2025 | grafana 10.2.0 on Ubuntu 22.04 LTS | amd64 |
10.2.3-22.04_stable | 10.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 | grafana 10.2.3 on Ubuntu 22.04 LTS | amd64 |
11.0.0-22.04_stable | 11-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 | grafana 11.0.0 on Ubuntu 22.04 LTS | amd64 |
9.5.3-22.04_stable | 9-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 | grafana 9.5.3 on Ubuntu 22.04 LTS | amd64 |
10.4.0-22.04_stable | 10.4.0-22.04 , 10.4.0-22.04_beta , 10.4.0-22.04_candidate , 10.4.0-22.04_edge | 03/2025 | grafana 10.4.0 on Ubuntu 22.04 LTS | amd64 |
10.0.3-22.04_stable | 10.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 | grafana 10.0.3 on Ubuntu 22.04 LTS | amd64 |
8.2-22.04_beta | 8.2-22.04_edge , edge , latest | - | grafana 8.2 on Ubuntu 22.04 LTS | amd64 , s390x , ppc64le , arm64 |
8.1-21.10_beta | 8.1-21.10_edge | - | grafana 8.1 on Ubuntu 21.10 | ppc64le , s390x , amd64 , arm64 |
7.4-21.04_beta | 7.4-21.04_edge | - | grafana 7.4 on Ubuntu 21.04 | s390x , ppc64le , amd64 , arm64 |
7.2-20.04_beta | 7.2-20.04_edge | - | grafana 7.2 on Ubuntu 20.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 rocks@canonical.com).
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
Parameter | Description |
---|---|
-e TZ=UTC | Timezone. |
-p 3000:3000 | Expose 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/grafana | Persist 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
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
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>
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 |
---|---|---|---|
track |
docker pull ubuntu/grafana