Skip to content

Commit

Permalink
Describe how to add a plugin in Dockerfile (#31340)
Browse files Browse the repository at this point in the history
When installing a plugin, people need to add the `--batch` option.
It's better to document it as it could be a common use case.
  • Loading branch information
dadoonet authored Jun 15, 2018
1 parent 1c5cec0 commit 8c6ee7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/reference/setup/install/docker.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,13 @@ docker build --tag=elasticsearch-custom .
docker run -ti -v /usr/share/elasticsearch/data elasticsearch-custom
--------------------------------------------

Some plugins require additional security permissions. You have to explicitly accept
them either by attaching a `tty` when you run the Docker image and accepting yes at
the prompts, or inspecting the security permissions separately and if you are
comfortable with them adding the `--batch` flag to the plugin install command.
See {plugins}/_other_command_line_parameters.html[Plugin Management documentation]
for more details.

===== D. Override the image's default https://docs.docker.com/engine/reference/run/#cmd-default-command-or-options[CMD]

Options can be passed as command-line options to the {es} process by
Expand Down

0 comments on commit 8c6ee7d

Please sign in to comment.