You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on a mac. I use the command
docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 elasticsearch
to launch elastic but it immediately shuts down with this message
{1.7.3}: Initialization Failed ...
ElasticsearchIllegalStateException[Failed to created node environment]
AccessDeniedException[/usr/share/elasticsearch/data/elasticsearch]
Any ideas on how to fix?
The text was updated successfully, but these errors were encountered:
This is a permissions issue since the mounted folder from your host is owned by uid/gid 1000:50 whereas the user in the container is elasticsearch (105:108). There is much discussion over on boot2docker/boot2docker#581.
I'm on a mac. I use the command
docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 elasticsearch
to launch elastic but it immediately shuts down with this message
{1.7.3}: Initialization Failed ...
AccessDeniedException[/usr/share/elasticsearch/data/elasticsearch]
Any ideas on how to fix?
The text was updated successfully, but these errors were encountered: