Skip to content

Commit 25a613e

Browse files
committed
more
1 parent 9aaa01a commit 25a613e

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

deploy-manage/deploy/self-managed/install-elasticsearch-docker-basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ navigation_title: Single-node cluster
1212
Use Docker commands to start a single-node {{es}} cluster for development or testing. You can then run additional Docker commands to add nodes to the test cluster or run {{kib}}.
1313

1414
::::{tip}
15-
* If you just want to test {{es}} in local development, refer to [Run {{es}} locally](../../../solutions/search/get-started.md). Please note that this setup is not suitable for production environments.
15+
* If you just want to test {{es}} in local development, refer to [Run {{es}} locally](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md). Please note that this setup is not suitable for production environments.
1616
* This setup doesn’t run multiple {{es}} nodes or {{kib}} by default. To create a multi-node cluster with {{kib}}, use Docker Compose instead. See [Start a multi-node cluster with Docker Compose](/deploy-manage/deploy/self-managed/install-elasticsearch-docker-compose.md).
1717
::::
1818

deploy-manage/deploy/self-managed/install-elasticsearch-docker-configure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When you run in Docker, the [{{es}} configuration files](configure-elasticsearch
1313

1414
To use custom configuration files, you [bind-mount the files](#docker-config-bind-mount) over the configuration files in the image.
1515

16-
You can set individual {{es}} configuration parameters using Docker environment variables. The [sample compose file](#docker-compose-file) and the [single-node example](#docker-cli-run-dev-mode) use this method. You can use the setting name directly as the environment variable name. If you cannot do this, for example because your orchestration platform forbids periods in environment variable names, then you can use an alternative style by converting the setting name as follows.
16+
You can set individual {{es}} configuration parameters using Docker environment variables. The [sample compose file](/deploy-manage/deploy/self-managed/install-elasticsearch-docker-compose.md) and the [single-node example](/deploy-manage/deploy/self-managed/install-elasticsearch-docker-basic.md) use this method. You can use the setting name directly as the environment variable name. If you can't do this, for example because your orchestration platform forbids periods in environment variable names, then you can use an alternative style by converting the setting name as follows:
1717

1818
1. Change the setting name to uppercase
1919
2. Prefix it with `ES_SETTING_`
@@ -38,7 +38,7 @@ docker run <various parameters> bin/elasticsearch -Ecluster.name=mynewclusternam
3838

3939
While bind-mounting your configuration files is usually the preferred method in production, you can also [create a custom Docker image](#_c_customized_image) that contains your configuration.
4040

41-
### Mounting {{es}} configuration files [docker-config-bind-mount]
41+
## Mounting {{es}} configuration files [docker-config-bind-mount]
4242

4343
Create custom config files and bind-mount them over the corresponding files in the Docker image. For example, to bind-mount `custom_elasticsearch.yml` with `docker run`, specify:
4444

@@ -54,7 +54,7 @@ The container **runs {{es}} as user `elasticsearch` using uid:gid `1000:0`**. Bi
5454

5555

5656

57-
### Create an encrypted {{es}} keystore [docker-keystore-bind-mount]
57+
## Create an encrypted {{es}} keystore [docker-keystore-bind-mount]
5858

5959
By default, {{es}} will auto-generate a keystore file for [secure settings](../../security/secure-settings.md). This file is obfuscated but not encrypted.
6060

@@ -91,7 +91,7 @@ If you’ve already created the keystore and don’t need to update it, you can
9191
```
9292

9393

94-
### Using custom Docker images [_c_customized_image]
94+
## Using custom Docker images [_c_customized_image]
9595

9696
In some environments, it might make more sense to prepare a custom image that contains your configuration. A `Dockerfile` to achieve this might be as simple as:
9797

@@ -115,7 +115,7 @@ Some plugins require additional security permissions. You must explicitly accept
115115
See [Plugin management](asciidocalypse://docs/elasticsearch/docs/reference/elasticsearch-plugins/_other_command_line_parameters.md) for more information.
116116

117117

118-
### Troubleshoot Docker errors for {{es}} [troubleshoot-docker-errors]
118+
## Troubleshoot Docker errors for {{es}} [troubleshoot-docker-errors]
119119

120120
Here’s how to resolve common errors when running {{es}} with Docker.
121121

deploy-manage/deploy/self-managed/install-elasticsearch-docker-prod.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,20 @@ The `ES_JAVA_OPTS` variable overrides all other JVM options. We do not recommend
177177

178178
## Pin deployments to a specific image version [_pin_deployments_to_a_specific_image_version]
179179

180-
Pin your deployments to a specific version of the {{es}} Docker image. For example `docker.elastic.co/elasticsearch/elasticsearch:{{stack-version}}`.
180+
Pin your deployments to a specific version of the {{es}} Docker image. For example:
181+
182+
```sh
183+
docker.elastic.co/elasticsearch/elasticsearch:{{stack-version}}
184+
```
181185

182186

183187
## Always bind data volumes [_always_bind_data_volumes]
184188

185189
You should use a volume bound on `/usr/share/elasticsearch/data` for the following reasons:
186190

187-
1. The data of your {{es}} node won’t be lost if the container is killed
188-
2. {{es}} is I/O sensitive and the Docker storage driver is not ideal for fast I/O
189-
3. It allows the use of advanced [Docker volume plugins](https://docs.docker.com/engine/extend/plugins/#volume-plugins)
191+
1. The data of your {{es}} node won’t be lost if the container is killed.
192+
2. {{es}} is I/O sensitive and the Docker storage driver is not ideal for fast I/O.
193+
3. It allows the use of advanced [Docker volume plugins](https://docs.docker.com/engine/extend/plugins/#volume-plugins).
190194

191195

192196
## Avoid using `loop-lvm` mode [_avoid_using_loop_lvm_mode]

deploy-manage/deploy/self-managed/install-elasticsearch-with-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Docker images for {{es}} are available from the Elastic Docker registry. A list
1717
:::
1818

1919
::::{tip}
20-
If you just want to test {{es}} in local development, refer to [Run {{es}} locally](../../../solutions/search/get-started.md). Please note that this setup is not suitable for production environments.
20+
If you just want to test {{es}} in local development, refer to [Run {{es}} locally](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md). Please note that this setup is not suitable for production environments.
2121
::::
2222

2323
Review the following guides to install {{es}} with Docker:

deploy-manage/deploy/self-managed/installing-elasticsearch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If you want to install and manage {{es}} yourself, you can:
6868
* Run {{es}} in a [Docker container](/deploy-manage/deploy/self-managed/installing-elasticsearch.md#elasticsearch-docker-images).
6969

7070
::::{tip}
71-
To try out on your own machine, we recommend using Docker and running both {{es}} and Kibana. For more information, see [Run {{es}} locally](../../../solutions/search/get-started.md). This setup is not suitable for production use.
71+
To try out on your own machine, we recommend using Docker and running both {{es}} and Kibana. For more information, see [Run {{es}} locally](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md). This setup is not suitable for production use.
7272
::::
7373

7474
## {{es}} install packages [elasticsearch-install-packages]

0 commit comments

Comments
 (0)