Docker image and plugin install/uninstall issue

I am using a docker image and I foolishly installed grafana-cli plugins install grafana-image-renderer (from the running container’s bash) before I read that it is not supported by the image. Now even if I remove the image and pull the image from scratch it sees the plugin somewhere and fails to run the container. How do I uninstall this plugin from wherever it lives. Or stop image from picking it up?

How can I remove that plugin, so the image does not try to implement it?

why in the world did you do that??

I don’t know… I was in a hurry and saw this Grafana Image Renderer plugin for Grafana | Grafana Labs and I thought I’d just run the installation line and then continue reading… only if I read another line right after that I would have been on the safe side… but I hope there is a solution to my case… I am sure that plugin lives somewhere and can be removed by some machinery

Hi, did you fix it? I have the same problem and i don’t know how to fix and continue working :frowning:

Yes and No. I could not fix it by CLI. I had to remove persisted directory and run an image from scratch.

Since google points here maybe someone will find this useful.
Container keeps resetting every few seconds so you need to be quick.


docker exec -it grafana /bin/bash
grafana-cli plugins remove grafana-image-renderer

user@nuc ~ > docker exec -it grafana /bin/bash
bash-5.1 grafana-cli plugins remove grafana-image-renderer
Removing plugin: grafana-image-renderer