Answer the question
In order to leave comments, you need to log in
Why is the volume not mounted to the elastic?
I run the docker image of elastica
docker run -p 9200:9200 -e "discovery.type=single-node" -v ~/docker/elasticsearch:/usr/share/elasticsearch/data docker.elastic.co/elasticsearch/elasticsearch:7.5.1
"message": "uncaught exception in thread [main]
"stacktrace": ["org.elasticsearch.bootstrap.StartupException: ElasticsearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/elasticsearch/data/nodes];"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question