Hi everyone,
I suspect this is a very easy question:
How can I verify which version of the image is running in the docker container?
I am running the grafana-image-renderer in a docker (well podman) container and am pulling the latest image.
When I do an update, how can I verify that the latest image is indeed the desired version (at time of this post 4.1.4)?
I found the plugin.js file in the /…/storage/overlay/…/home/nonroot/ directory but there surely is a way to ask the container itself.
Or a curl request?
If not, maybe it could be possible to print the version into the log-file? podman container logs renderer
Best regards
Frank
There is plugin.json, where you have details. E.g. this latest is 4.1.4:
docker run --rm -ti --entrypoint cat grafana/grafana-image-renderer:latest "plugin.json"
{
"type": "renderer",
"name": "Grafana Image Renderer",
"id": "grafana-image-renderer",
"backend": true,
"info": {
"description": "Grafana Backend Image Renderer that uses headless chrome to capture images.",
"author": {
"name": "Grafana Labs",
"url": "https://grafana.com"
},
"keywords": ["renderer", "png", "backend", "image"],
"logos": {
"small": "img/icon.png",
"large": "img/icon.png"
},
"links": [
{
"name": "Project site",
"url": "https://github.com/grafana/grafana-image-renderer"
},
{
"name": "Apache License",
"url": "https://github.com/grafana/grafana-image-renderer/blob/master/LICENSE"
}
],
"version": "4.1.4",
"updated": "2025-10-30"
},
"dependencies": {
"grafanaDependency": ">=11.3.8"
}
}
IMHO: professionals don’t use image latest tag usually, but version tag explicitly.
Thank you.
This produces the same result as viewing the plugin.js from the overlay directory but with your solution at least I ask the container, what it thinks this file contains.
A simpler solution would be greatly appreciated, like an information in the logs or a --version command. Maybe one of the maintainer can put that in for a future release.
When it comes to docker and container (or even Linux for that matter) I would not describe myself as professional.
But I followed the instructions provided by the grafana / renderer documentation.
If it is bad practice to go for latest, maybe the documentation should mention this or should provide different solutions for the installation.