报错信息:
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/docker-cluster.log
解决办法:
在运行命令中添加 -e “discovery.type=single-node”
docker run -d --name es-temp -e "discovery.type=single-node" -p 9200:9200 -p 9300:9300 elasticsearch:7.14.2



