Public Repository

Last pushed: 6 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 (26)
mugdho
6 days ago

If we update the config file to use a database, Grafana tries to create a data directory in the homepath. Since that path is owned by root and grafana-server is running as grafana, it fails and essentially can't proceed. Can we have the homepath chowned to grafana.grafana as well as we do for GF_PATHS_DATA and GF_PATHS_LOGS.

edesdan
2 months ago

Hello, why I need to provide my dockerhub credentials to pull this image? Is this suppose to be the "offcial" "public" image?

astropanic
3 months ago

If this is an "official" image, why You don't user the "library" namespace, like other real official images ?

checkmarxdevops
4 months ago

You are missing double bracket GF_SECURITY_ADMIN_PASSWORD=secret"

robsonpeixoto
6 months ago

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

christiangda
6 months ago

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

Regards

samuelevecchikalpa
6 months ago

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

miton18
7 months ago

latest tag broken:
error: exec failed: permission denied

burdiyan
7 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.