deploying elasticsearch with docker

I’m new to deploying with docker and elasticsearch.

I followed the curriculum here, but I do not understand how the data is maintained if we downloaded and pushed a base ES image.

  • Confused about multiple different containers using a single data volume containers [closed]
  • How to start docker container in memory?
  • Cannot update openssl to 1.0.2 on ubuntu docker image
  • Docker: Why does wait-for always time out?
  • python variable not being passed?
  • Docker run results in “host not found in upstream” error
  • When I deploy my ES service, I’d like to keep the documents that are currently on it so I don’t have to bulk create again.

    How do you transfer data along with the elasticsearch service with docker?
    I have pulled the base ES image but am unsure how I can configure my docker file.

  • Change boot2docker memory assignment
  • Running tests with Docker and Jenkins - Test Result
  • 502 Bad Gateway Error with Docker Swarm service
  • Docker: uwsgi service not recognised
  • Postgres Shutdown Immediately after docker compose up?
  • How to create a superuser in Django with Linux shell script?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.