Grafana - docker UI customisation

Hi Team,

I have a requirement to customize the grafana UI which has been used as an image pulled from docker hub and ran as an container in openshift. I need to make modification in the color of the Direct Link.


to something like


To make the direct link more prominent I need to make certain changes in css file.

When we use grafana as a single instance i.e., by installing a zipped file and installing. We have this location to change the css–> /grafana-4.4.1/public/css

But when we run as a docker image in an container, I am unable to find such the above mentioned path. Please help!

Hi shresthi,

If I am not misunderstanding,
After loggin into the container by using “docker exec -it ‘containerId’ /bin/bash”,
use the following command “cd /usr/share/grafana/public/css” to find the relative path.
And want to edit files in the container then install vim nano and nano the file;

apt-get update
apt-get install vim nano

nano ####.css

When your changes is done, restart the container.