Docker Community Forums

Share and learn in the Docker community.

Export/import images on several machines includes grafana with plugins and dashboards

docker

(Thisis) #1

Hello together,

i have created two images

First image is to get the data for grafana persistant:

create /var/lib/grafana as persistent volume storage
docker run -d -v /var/lib/grafana --name grafana-storage busybox:latest

the second image is grafana with a cloudera plugin:
start grafana with plugins
docker run
-d
-p 3000:3000
–name=grafana
–volumes-from grafana-storage
-e “GF_INSTALL_PLUGINS=foursquare-clouderamanager-datasource”
grafana/grafana

I exported both images and send it to another machine. Then i imported both and start the images. I can reach grafana. But there is no plugin installed like on the other machine. Also my dashboard are not there.

What can i do that i can reach my plugins and the dashboards? In case of a failover i need this on multiple machines.

thanks
thisis