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?

  • Docker on CentOS 7.2: kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1
  • Docker-compose environment variables
  • Kubernetes Redis HA and exposing redis to things outside of the container
  • How can I run my docker container with installed Nginx?
  • exec is no use ,I do not know how to solve
  • Docker image of Java project
  • 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!

  • I started a docker container in bluemix and ice ps shows my container in state “Queued” for hours
  • Why I cannot get output of tail of a file created by docker build
  • Docker Container Usage
  • Docker and securing passwords
  • Testing a Node library working with Docker containers
  • Scripts with dialog from Docker container
  • 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.