4:创建es容器 docker run -d --name es -p 9200:9200 -p 9300:9300 --net docker_default --ip 172.18.0.40 --memory-swappiness=0 -v /root/data/docker/es/data:/usr/share/elasticsearch/data -v /root/data/docker/es/conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v ...