![]() In the Grafana GitHub repository there is a folder called packaging/docker/custom/, which includes a Dockerfile that can be used to build a custom Grafana image. This saves time if you are creating multiple images and you want them all to have the same plugins installed on build. You can build your own customized image that includes plugins. e "GF_INSTALL_PLUGINS= custom-plugin,grafana-clock-panel" \īuild and run a Docker image with pre-installed plugins You can install a plugin from a custom URL by specifying the URL like this: GF_INSTALL_PLUGINS=. Only available in Grafana v5.3.1 and later. For example: -e "GF_INSTALL_PLUGINS=grafana-clock-panel 1.0.1,grafana-simple-json-datasource 1.3.5". Note: If you need to specify the version of a plugin, then you can add it to the GF_INSTALL_PLUGINS environment variable. e "GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource" \ This sends each plugin name to grafana-cli plugins install $ and installs them when Grafana starts. Pass the plugins you want installed to Docker with the GF_INSTALL_PLUGINS environment variable as a comma-separated list. Install official and community Grafana plugins You can install official and community plugins listed on the Grafana plugins page or from a custom URL. This tag guarantees that you use a specific version of Grafana instead of whatever was the most recent commit at the time.įor a list of available tags, check out grafana/grafana-oss and grafana/grafana-oss-dev. When running Grafana main in production, we strongly recommend that you use the grafana/grafana-oss-dev:-pre tag. Use these to get access to the latest main builds of Grafana. Additionally, two new tags are created, grafana/grafana-oss-dev:-pre and grafana/grafana-oss-dev:-pre-ubuntu, where version is the next version of Grafana and build ID is the ID of the corresponding CI build. docker run -d -p 3000:3000 -name grafana grafana/grafana-enterprise:Įxample: docker run -d -p 3000:3000 -name grafana grafana/grafana-enterprise:8.2.0įor every successful build of the main branch, we update the grafana/grafana-oss:main and grafana/grafana-oss:main-ubuntu tags. Note: If you are on a Linux system, you might need to add sudo before the command or add your user to the docker group. docker run -d -p 3000:3000 grafana/grafana-enterprise ![]() You can run the latest Grafana version, run a specific version, or run an unstable version based on the main branch of the grafana/grafana GitHub repository. It is an alternative image for those who prefer an Ubuntu based image and/or are dependent on certain tooling not available for Alpine. These images are based on Ubuntu, available in the Ubuntu official image. Grafana Open Source edition: grafana/grafana-oss:-ubuntu Grafana Enterprise edition: grafana/grafana-enterprise:-ubuntu Note: Grafana docker images were based on Ubuntu prior to version 6.4.0. However, most software don’t have an issue with this, so this variant is usually a very safe choice. The main caveat to note is that it uses musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements. The Alpine variant is highly recommended when security and final image size being as small as possible is desired. Alpine Linux is much smaller than most distribution base images, and thus leads to slimmer and more secure images. The default images are based on the popular Alpine Linux project, available in the Alpine official image. Grafana Open Source edition: grafana/grafana-oss: Grafana Enterprise edition: grafana/grafana-enterprise: This topic also contains important information about migrating from earlier Docker image versions. See below.įor documentation regarding the configuration of a docker image, refer to configure a Grafana Docker image. Grafana Enterprise: grafana/grafana-enterpriseĮach edition is available in two variants: Alpine and Ubuntu. You can install and run Grafana using the official Docker images. Create a free account to get started, which includes free forever access to 10k metrics, 50GB logs, 50GB traces, 500VUh k6 testing
0 Comments
Leave a Reply. |