Skip to content

Commit b8960fd

Browse files
committed
Elasticsearch: adjust wording, add clusterable example
1 parent b036593 commit b8960fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

elasticsearch/content.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ Elasticsearch is a registered trademark of Elasticsearch BV.
1616

1717
As a result, this image does not support clustering out of the box and extra configuration must be set in order to support it.
1818

19-
Supporting clustering imply having Elasticsearch in a production mode which is more strict about the bootstrap checks that it performs, especially when checking the value of `vm.max_map_count` which is not namespaced and thus must be set to an acceptable value on the host (as opposed to simply using `--sysctl` on `docker run`).
19+
Supporting clustering implies having Elasticsearch in a production mode which is more strict about the bootstrap checks that it performs, especially when checking the value of `vm.max_map_count` which is not namespaced and thus must be set to an acceptable value on the host (as opposed to simply using `--sysctl` on `docker run`).
20+
21+
One example of adding clustering support is to pass the configuration on the `docker run`:
22+
23+
```console
24+
$ docker run -d --name elas elasticsearch -Etransport.host=0.0.0.0 -Ediscovery.zen.minimum_master_nodes=1
25+
```
2026

2127
See the following sections of the upstream documentation for more information:
2228

0 commit comments

Comments
 (0)