1、使用docker拉取elasticsearch镜像dockerpulldocker.elastic.co/elasticsearch/elasticsearch:7.13.32、启动容器dockernetworkcreateelasticdockerrun-d--namees--netelastic-p9200:9200-p9300:9300-e"ES_JAVA_OPTS=-Xms512m-Xmx512m"-e"discovery.type=single-node"docker.elastic.co/...