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. |
||
---|---|---|
.. | ||
brew.asciidoc | ||
check-running.asciidoc | ||
deb.asciidoc | ||
docker-compose.yml | ||
docker.asciidoc | ||
etc-elasticsearch.asciidoc | ||
key.asciidoc | ||
license.asciidoc | ||
msi-windows-start.asciidoc | ||
next-steps.asciidoc | ||
rpm.asciidoc | ||
skip-set-kernel-parameters.asciidoc | ||
sysconfig-file.asciidoc | ||
systemd.asciidoc | ||
targz-daemon.asciidoc | ||
targz-start.asciidoc | ||
targz.asciidoc | ||
windows.asciidoc | ||
xpack-indices.asciidoc | ||
zip-windows-start.asciidoc | ||
zip-windows.asciidoc |