报错信息:文章来源:https://www.toymoban.com/news/detail-502421.html
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/docker-cluster.log
解决办法:
在运行命令中添加 -e “discovery.type=single-node”文章来源地址https://www.toymoban.com/news/detail-502421.html
docker run \
-d \
--name es-temp \
-e "discovery.type=single-node" \
-p 9200:9200 -p 9300:9300 \
elasticsearch:7.14.2
到了这里,关于docker启动elasticsearch——ERROR: Elasticsearch did not exit normally - check the logs at xxx的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!