Browse Source

Elasticsearch: adjust wording, add clusterable example

Joe Ferguson 8 years ago
parent
commit
b8960fd741
1 changed files with 7 additions and 1 deletions
  1. 7 1
      elasticsearch/content.md

+ 7 - 1
elasticsearch/content.md

@@ -16,7 +16,13 @@ Elasticsearch is a registered trademark of Elasticsearch BV.
 
 As a result, this image does not support clustering out of the box and extra configuration must be set in order to support it.
 
-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`).
+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`).
+
+One example of adding clustering support is to pass the configuration on the `docker run`:
+
+```console
+$ docker run -d --name elas elasticsearch -Etransport.host=0.0.0.0 -Ediscovery.zen.minimum_master_nodes=1
+```
 
 See the following sections of the upstream documentation for more information: