diff --git a/docs/reference/setup/install/docker.asciidoc b/docs/reference/setup/install/docker.asciidoc index 8f654bd246b..8cb0c441d20 100644 --- a/docs/reference/setup/install/docker.asciidoc +++ b/docs/reference/setup/install/docker.asciidoc @@ -323,7 +323,7 @@ docker run bin/elasticsearch -Ecluster.name=mynewclusternam -------------------------------------------- While bind-mounting your configuration files is usually the preferred method in production, -you can also <> +you can also <<_c_customized_image, create a custom Docker image>> that contains your configuration. [[docker-config-bind-mount]] @@ -341,7 +341,7 @@ IMPORTANT: The container **runs {es} as user `elasticsearch` using **uid:gid `1000:1000`**. Bind mounted host directories and files must be accessible by this user, and the data and log directories must be writable by this user. -[[docker-config-custom-image]] +[[_c_customized_image]] ===== Using custom Docker images 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: