Add ElasticSearch plugin command alternative for ES >5.0 versions

This commit is contained in:
Jeremy Nikolic 2020-04-10 10:15:58 +02:00
parent 3f71fc2c15
commit 102d3c8828
1 changed files with 6 additions and 0 deletions

View File

@ -1209,6 +1209,12 @@ docker-compose up -d elasticsearch
```bash
docker-compose exec elasticsearch /usr/share/elasticsearch/bin/plugin install {plugin-name}
```
For ElasticSearch 5.0 and above, the previous "plugin" command as been renamed to "elasticsearch-plguin".
Use the following instead:
```bash
docker-compose exec elasticsearch /usr/share/elasticsearch/bin/elasticsearch-plugin install {plugin-name}
```
2 - Restart elasticsearch container