Hi Everyone,
I am trying to setup Grafana with Infinity plugin, where I have pulled the image of Grafana from docker hub in my docker desktop. I have created a container named graf1 in my docker desktop and the grafana version 13.3.0. I want to use the infinity plugin to fetch data from ServiceNow and create dashboard for my incidents. for some reason the container is dying after it is been started. I am using below command to get the plugin:
docker run -d
--name=grafana
-p 3000:3000
-e "GF_INSTALL_PLUGINS=yesoreyeram-infinity-datasource"
grafana/grafana
Where as my other colleague has done the same thing except he has the grafana version 13.2.0 and Infinity plugin is working for him perfectly. he had download the grafana image 25 days back compared to me. Is there anything I am missing or doing incorrectly? Any suggestions or any ideas will be helpful. There is some kind of error in the container logs - TLS failed to verify the certificate x509.
I have tried other ways also , like downloading the package inside the docker desktop and unzip of the plugin, then also the plugin is not getting installed.
That looks like your endpoint is using custom certification authority (CA), so standard CA certs can’t verify it. Find used CA and mount that CA cert to the container.
The x509 error means the container can’t verify the TLS certificate of the server it connects to during plugin installation.
A likely cause is a corporate proxy or firewall that re signs HTTPS traffic with an internal CA.
That would explain why your colleague’s setup works and yours doesn’t: the difference is probably your network, not the Grafana version. The full logs are needed to confirm this.
Add your company’s root CA to the image
Get the root CA certificate in PEM format (corp-ca.crt) from your IT team.
Create a Dockerfile next to it:
FROM grafana/grafana:13.3.0
USER root
COPY corp-ca.crt /usr/local/share/ca-certificates/corp-ca.crt
RUN update-ca-certificates
USER grafana
Download the plugin zip from the Grafana plugin page and extract it so the folder yesoreyeram-infinity-datasource (containing plugin.json) is in a local plugins directory.
Then mount it with -v /path/to/plugins:/var/lib/grafana/plugins and remove the install variable.
If the container still exits, please post the first error lines from docker logs grafana.