kibana running on docker: how to save dashboard?

I am running kibana 5.2.1 from docker. I am using this image: FROM docker.elastic.co/kibana/kibana:5.2.1

The problem is if I remove the container the work done on kibana will be lost.
How can I save kibana dashboard on docker instance?

  • How do I connect my iPhone to my local docker container if they're both on the same network?
  • Apache Kafka in docker AND VirtualBox VM
  • echo environment variable with docker run
  • What is best practice for sharing database between containers in docker?
  • Where is the docker swarm token stored?
  • Docker command won't connect to docker
  • can I use docker volume? if yes which folder in the container store kibana data so I can map it to a local folder.

    Thanks!

  • “dockerfile” text file busy
  • Docker - Run Jetty on HTTPS
  • Starting new Docker container with every new Bamboo build run and using the container to run the build in
  • Running a Python script automatically when launching a Docker container
  • Docker build auth error
  • Why is my npm dockerfile looping?
  • One Solution collect form web for “kibana running on docker: how to save dashboard?”

    Based on this question, it looks like it saves into elasticsearch, so you don’t need to mount a shared volume.

    Location of custom Kibana dashboards in ElasticSearch

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.