进入容器 docker exec -it myes /bin/bash 安装相应的版本 ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.5.4/elasticsearch-analysis-ik-6.5.4.zip 重启容器 docker restart myes