Create user with Viewer Role --> Grafana Docker Run

Hi all,

I am running grafana as docker. And i created one user with viewer role. But whenever I redeploy grafana container the user which i created is not there, again manually i need to create the user. The dashboard and data source i am provisioning through volume mapping. Is there a way to create user with viewer role by default whenever we deploy the grafana docker container.

Have you tried adding a docker volume so that you can run Grafana in a container with persistent storage?