➜ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESf7aaead8fd09 elasticsearch:7.0.1 "/usr/local/bin/dock…" 2 days ago Up 10 minutes 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp elasticsearch
Se você estiver usando o elasticsearch 6, Os comandos para instalar plug-ins são um pouco diferentes da resposta de @asktyagi. Coloque isso no seu Dockerfile
FROM elasticsearch:6.8.3RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu && \ /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-phonetic