I have been looking for a way to export and import all the users+passwords for a new clean grafana docker installed.
I cannot see they are configured in the grafana.ini or another way to export/imports.
Is there a way to do that ?
The users are saved in the database. The default database for Grafana is an Sqlite database.
It is very possible to use the same database by copying it over to the volume for your new clean Grafana docker (or just using the same volume). This will bring all the state with it - users, dashboards, data sources etc.
Instructions for Grafana docker image and using volumes: Configure Grafana Docker image | Grafana Labs