This topic contains instructions for installing Grafana using the Docker image.
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/.
- Our Alpine based images have been upgraded to Alpine 3.14.3 #41922 @hairyhenderson
- Our Go build image has been upgraded to Go 1.17.2 #41922 @hairyhenderson
- Security: Upgrade Alpine based images to 3.14.3. #42061, @dsotirakis
- Security: Upgrade Go to 1.17.2. #42427, @idafurjes
- Our Alpine based images have been upgraded to Alpine 3.11
- Our Ubuntu based images have been upgraded to Ubuntu 20.04 LTS
- Build and publish an additional Ubuntu based docker image. #20196, @aknuds1
- Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues. #19798, @aknuds1
- Add additional glibc dependencies to support certain backend plugins in alpine. #20214, @briangann
- Switched base image from Ubuntu:18.04 to Alpine:3.10.
- Switched base image from Ubuntu:latest to Ubuntu:18.04.
- Switched base image to Ubuntu:latest from Debian:stretch to avoid security issues.
- Added ability to build and publish Docker images for armv7 and arm64, #14617, thx @johanneswuerbach.
- Added Curl back into the Docker image for utility, #13794.
- Made it possible to set a specific plugin URL, #12861, thx ClementGautier.
- Fixed: config keys ending with _FILE are not respected #170.
- Added support for Docker secrets.
- 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.
- 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.
- Plugins dir (
/var/lib/grafana/plugins
) is no longer a separate volume.
- Made it possible to install specific plugin version grafana/grafana-docker#59 (comment).