docker安装elasticsearch
docker run -p 9200:9200 -p 9300:9300 --name elasticsearch \ -e "discovery.type=single-node" \ -e "cluster.name=elasticsearch" \ -v /opt/docker/elasticsearch/plugins:/usr/share/elasticsearch/plugins \ -v /opt/docker/elasticsearch/data:/usr/share/elasticsearch/data \ -d elasticsearch:7.6.1