hopsoft / docker-graphite-statsd

Docker image for Graphite & Statsd
MIT License
867 stars 308 forks source link

Saving graph permanently in Graphite even after container is removed. #87

Open anujitas opened 7 years ago

anujitas commented 7 years ago

Hi I have spawned a docker container for Graphite and using Telegraf for collecting metrics. The command I have used is -> docker run -d --name graphite --restart=always -p 80:80 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 -v /opt/graphite/data:/opt/graphite/storage graphiteapp/graphite-statsd I am logged in to Graphite with root, and I can save the graphs which gets stored in User Graphs and My Graphs folder in the Tree. Now If I remove the container of Graphite, I cannot see the saved Graph too. Is there any way I can map my "My Graphs or User Graph" folder to our local and save the graph permanently. I am stuck on this since long. It would be really helpful of you for your support.