Just create a subfolder for your test with a subfolder named volume
and another subfolder inside volume named plugins
.
Unzip the plugin zip directly into the plugins folder. A subfolder with the plugin name should appear
Now start grafana as in
docker run --rm -p 3000:3000 --name=grafana-plugin --user "$(id -u)" --volume "$PWD/volume:/var/lib/grafana" grafana/grafana-oss
Container will start and will be removed when you exit. Data will be kept in the volume. Grafana starts at
http://localhost:3000
with default user admin
and password admin
This is what my tree looks like. Note I only created the plugins
folder with the unzipped questdb-questdb-datasource
and everything else was created by grafana
.
└── volume
├── alerting
│ └── 1
│ └── __default__.tmpl
├── csv
├── grafana.db
├── plugins
│ └── questdb-questdb-datasource
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── MANIFEST.txt
│ ├── README.md
│ ├── go_plugin_build_manifest
│ ├── gpx_questdb_darwin_amd64
│ ├── gpx_questdb_darwin_arm64
│ ├── gpx_questdb_linux_amd64
│ ├── gpx_questdb_linux_arm
│ ├── gpx_questdb_linux_arm64
│ ├── gpx_questdb_windows_amd64.exe
│ ├── img
│ │ ├── logo.svg
│ │ └── sql_builder.png
│ ├── module.js
│ ├── module.js.map
│ └── plugin.json
└── png
9 directories, 18 files