grafana/packaging/docker
Pureewat Kaewpoi 05d6d32f3e
Docker: Support pre-installing plugins from other sources in custom Dockerfiles (#31234)
Update custom Dockerfiles to support pre-installing plugins from other sources.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-03-11 12:17:34 +01:00
..
custom Docker: Support pre-installing plugins from other sources in custom Dockerfiles (#31234) 2021-03-11 12:17:34 +01:00
build-enterprise.sh Docker: Publish enterprise image with master-commit tag (#22008) 2020-02-07 16:08:14 +01:00
build.sh CI: Upgrade Dockerfiles wrt. Go, Node, Debian (#31407) 2021-02-24 08:52:48 +01:00
Dockerfile CI: Upgrade Dockerfiles wrt. Go, Node, Debian (#31407) 2021-02-24 08:52:48 +01:00
push_to_docker_hub.sh Build: Build Ubuntu based Docker images also for ARM (#20267) 2019-11-11 18:05:46 +01:00
README.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
run.sh Docs: Fixing v51 link (#28396) 2020-10-20 07:09:53 -07:00
ubuntu.Dockerfile Docker: OpenShift compatability (#27813) 2020-10-14 13:38:04 +02:00

Grafana Docker image

This topic contains instructions for installing Grafana using the Docker image.

Run the Grafana Docker container

Start the Docker container by binding Grafana to external port 3000.

docker run -d --name=grafana -p 3000:3000 grafana/grafana

Try it out, default admin user credentials are admin/admin.

Further documentation can be found at http://docs.grafana.org/installation/docker/.

Changelog

v6.4.0-pre1

  • Switched base image from Ubuntu:18.04 to Alpine:3.10.

v6.3.0-beta2

  • Switched base image from Ubuntu:latest to Ubuntu:18.04.

v6.3.0-beta1

  • Switched base image to Ubuntu:latest from Debian:stretch to avoid security issues.

v5.4.3

  • Added ability to build and publish Docker images for armv7 and arm64, #14617, thx @johanneswuerbach.

v5.3.2

  • Added Curl back into the Docker image for utility, #13794.

v5.3.0-beta1

  • Made it possible to set a specific plugin URL, #12861, thx ClementGautier.

v5.1.5, v5.2.0-beta2

  • Fixed: config keys ending with _FILE are not respected #170.

v5.2.0-beta1

  • Added support for Docker secrets.

v5.1.0

  • Major restructuring of the container.
  • Removed usage of chown.
  • Fixed file permissions incompatibility with previous versions.
    • user id changed from 104 to 472.
    • group id changed from 107 to 472.
  • Runs as the Grafana user by default (instead of root).
  • Removed all default volumes.

v4.2.0

  • Plugins are now installed into ${GF_PATHS_PLUGINS}.
  • Building the container now requires a full URL to the Debian package instead of just the version.
  • Fixed bug caused by installing multiple plugins.

v4.0.0-beta2

  • Plugins dir (/var/lib/grafana/plugins) is no longer a separate volume.

v3.1.1