es8.11使用
dock pull elasticsearch:8.12.0
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.13.0
注意关闭安全模式
docker run --name elasticsearch812 --net elastic -e "xpack.security.enabled=false" -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -t elasticsearch:8.12.0
下载ik插件
wget https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v8.12.0/elasticsearch-analysis-ik-8.12.0.zip
或者这里下载:https://release.infinilabs.com/analysis-ik/stable/
cp到容器:
docker cp ./elasticsearch-analysis-ik-8.12.0.zip elasticsearch812:/usr/share/elasticsearch/plugins/ik