1. 权限问题
/usr/local/elasticsearch/data:/usr/share/elasticsearch/data #数据文件挂载
对挂载的路径要进行授权,否则会报 failed to bind service AccessDeniedException
chmod 777 /usr/local/elasticsearch/data
/usr/local/elasticsearch/data:/usr/share/elasticsearch/data #数据文件挂载
对挂载的路径要进行授权,否则会报 failed to bind service AccessDeniedException
chmod 777 /usr/local/elasticsearch/data