How to install xpack for elasticsearch running on docker?
I think this should install xpack plugin
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack
xpack requires a licence, basic licence is free
Elastic's official Docker images already contain X-Pack in 5.x. Just pick the right image from https://www.docker.elastic.co.
I solved the problem:
In my question above you can see that i add the zip to the /usr/share/elasticsearch/plugins. The problem is, that elastics. can't open the zip from this directory.
My solution: Add the zip in a new or other directory and start the build-process again. In my case I added the zip in /usr/share/elasticsearch.
Greetings TheLegend31