Public Repository

Last pushed: 12 hours ago
Short Description
The official Grafana docker container
Full Description

The official Grafana docker image

Running your Grafana image


Start your image binding the external port 3000.

docker run -i -p 3000:3000 grafana/grafana

Try it out, default admin user is admin/admin.

Configuring your Grafana container

All options defined in conf/grafana.ini can be overriden using environment variables, for example:

docker run -i -p 3000:3000 \
  -e "GF_SERVER_ROOT_URL=http://grafana.server.name"  \
  -e "GF_SECURITY_ADMIN_PASSWORD=secret  \
  grafana/grafana
Docker Pull Command
Owner
grafana

Comments (23)
checkmarxdevops
22 days ago

You are missing double bracket GF_SECURITY_ADMIN_PASSWORD=secret"

robsonpeixoto
3 months ago

How to install plugins? I need to create my own image?

christiangda
3 months ago

latest --> v4.0.1,
maybe is better if you point it to
latest --> v4.1.1

Regards

samuelevecchikalpa
3 months ago

as yangkwang has already asked: why is it not possible to enter using the dafault admin/admin user?

miton18
4 months ago

latest tag broken:
error: exec failed: permission denied

burdiyan
4 months ago

Looks like the latest tag is not pointing to the real latest version for now (4.0.2). When you run latest image the actual version is 4.0.1 for some reason.

sabin1001
6 months ago

mud5150: It's not part of the main docker image library, so you need to do "docker pull grafana/grafana".

mud5150
6 months ago

Just fyi getting this trying to pull grafana on docker for windows using cli.

H:> docker pull grafana
Using default tag: latest
Pulling repository docker.io/library/grafana
Error: image library/grafana:latest not found

It seems to be specific to the grafana image. Interestingly if I use kitematic to pull the image it works. I might do some digging and post an update.

miry
7 months ago

It would great to update the description with AWS credentials example:

-e GF_AWS_PROFILES="USER" 
-e  GF_AWS_USER_ACCESS_KEY_ID="key"
-e  GF_AWS_USER_SECRET_ACCESS_KEY="key"
-e GF_AWS_USER_REGION="us-east-1a"