Installing and running plugin in Grafana docker container doesn't work
See original GitHub issueRendering is not working on a fresh docker ‘install’ of Grafana 6.4.1 with grafana-image-renderer 1.0.5:
installing grafana-image-renderer @ 1.0.5
from: https://grafana.com/api/plugins/grafana-image-renderer/versions/1.0.5/download
into: /var/lib/grafana/plugins
✔ Installed grafana-image-renderer successfully
...
t=2019-10-04T00:34:01+0000 lvl=eror msg="Rendering failed." logger=context userId=1 orgId=1 uname=admin error="Rendering failed: Error: Failed to launch chrome!\n/var/lib/grafana/plugins/grafana-image-renderer/chrome-linux/chrome: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md\n"
Installed/ran via docker as such:
docker run \
-d \
--user $(id -u) \
--volume "$PWD/data:/var/lib/grafana" \
-p 9001:3000 \
--name=test-641 \
-e "GF_INSTALL_PLUGINS=grafana-image-renderer,grafana-piechart-panel,grafana-worldmap-panel" \
grafana/grafana:6.4.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Run Grafana Docker image | Grafana documentation
You can install and run Grafana using the official Docker images. Our docker images come in two editions: Grafana Enterprise: grafana/grafana-enterprise.
Read more >Docker image and plugin install/uninstall issue - Configuration
I am using a docker image and I foolishly installed grafana-cli plugins ... it sees the plugin somewhere and fails to run the...
Read more >Install plugin from dockerfile - Grafana Community
Hi,. My grafana container is running where there is no internet connectivity. I would therefore like to install my plugins from the Dockerfile....
Read more >How I use Docker for plugin development - Grafana Community
I thought I'd share how I use Docker for developing plugins. Docker makes it really easy for me to test my plugin against...
Read more >Plugins in grafana docker don't appear
Why when i do in grafana docker: docker run \ -d \ -p 5000: 3000 \ --name = grafana \ grafana: my_grafana I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To anyone still experiencing this issue, note that we managed to “fix” it by NOT installing
grafana-image-renderer
. (This was done/tested on Grafana 6.4.3) That is, it seems that this package does the exact opposite of what it’s meant to! 🤣If you already run Grafana in docker container we suggests you run the image renderer in a separate docker container.
Readme updated together with Grafana Image Rendering documentation and includes instructions for how to install the plugin in Grafana docker container…