Installing plugins with custom docker image warning message

(None) #1

Here is my Dockerfile...


USER root
RUN whoami
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch repository-s3
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin list

But I get...

Step 4/4 : RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch repository-s3
---> Running in a9ced61590de
-> Downloading repository-s3 from elastic
[=================================================] 100%??
@ WARNING: plugin requires additional permissions @

  • java.lang.RuntimePermission accessDeclaredMembers
  • java.lang.RuntimePermission getClassLoader
  • java.lang.reflect.ReflectPermission suppressAccessChecks
  • * connect,resolve
    for descriptions of what these permissions allow and the associated risks.
    -> Installed repository-s3
    ---> 2297ad9a387b

Is it an issue?

(Jason Tedor) #2

No, it's warning you that the plugin requires security manager permissions outside those that are granted to the core Elasticsearch server process. This is normal behavior (that these warnings are presented when a plugin requires additional permission grants).

(None) #3


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.