mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Running the Elasticsearch Docker image with a different GID is possible but trappy, since at present all the ES files are only readable by the user and group. This PR documents a Docker CLI flag that fixes this situation, by ensuring the container user is added to the default group (which is `root`, GID 0). I also added a test for this case, and refactored the Docker tests to use a builder pattern for constructing the `docker run` command. The existing code was becoming unwieldy and hard to change. |
||
---|---|---|
.. | ||
images | ||
important-settings | ||
install | ||
sysconfig | ||
add-nodes.asciidoc | ||
bootstrap-checks-xes.asciidoc | ||
bootstrap-checks.asciidoc | ||
configuration.asciidoc | ||
important-settings.asciidoc | ||
install.asciidoc | ||
jvm-options.asciidoc | ||
logging-config.asciidoc | ||
restart-cluster.asciidoc | ||
secure-settings.asciidoc | ||
starting.asciidoc | ||
stopping.asciidoc | ||
sysconfig.asciidoc |