Grafana installation with persistent volume
This post details how to run grafana container with persistent volume
Create volume
Create a persistent volume for your data in /var/lib/grafana (database and plugins)
docker volume create grafana-storage
Start grafana
docker run -d -p 80:3000 --name=grafana --restart=always -v grafana-storage:/var/lib/grafana grafana/grafana
Test
http://yourip:80/
Default account:
- login: admin
- password: admin