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?

  • Error response from daemon: Cannot checkpoint container CONTAINERID: Unable to execute CRIU command: criu
  • Docker Cloud autotest cant find service
  • Docker: Container keeps on restarting again on again
  • docker nginx connection refused while connecting to upstream
  • How to access mysql outside my kubernetes cluster?
  • Docker Compose In Production
  • 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!

  • Previously working docker now having errors
  • linkings several docker containers together
  • Running ubuntu containers on ubuntu host - application with gui
  • How to convert a systemctl command to supervisord command
  • Is there a way to setup bluemix as $DOCKER_HOST and use it with the docker binary?
  • Translate host path to docker container inner path
  • 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.