Data storage location for elasticseach on docker

I am trying to install elasticsearch for docker but I got stuck with configuring the data storage location for the logs collected from the log aggregators coming to elasticsearch. Basically I need to store the data on the host machine and not on the docker container to ensure no data is lost if the container failed.

Welcome!

The installation documentation does that by default.

See the note: Install Elasticsearch with Docker | Elasticsearch Guide [8.9] | Elastic

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.