diff --git a/docs/reference/setup/install/docker.asciidoc b/docs/reference/setup/install/docker.asciidoc index 80052c4db6d..a3927bf8582 100644 --- a/docs/reference/setup/install/docker.asciidoc +++ b/docs/reference/setup/install/docker.asciidoc @@ -199,6 +199,18 @@ sudo sysctl -w vm.max_map_count=262144 -------------------------------------------- -- +* Windows with https://docs.docker.com/docker-for-windows/wsl[Docker Desktop WSL 2 backend] ++ +-- +The `vm.max_map_count` setting must be set in the docker-desktop container: + +[source,sh] +-------------------------------------------- +wsl -d docker-desktop +sysctl -w vm.max_map_count=262144 +-------------------------------------------- +-- + ===== Configuration files must be readable by the `elasticsearch` user By default, {es} runs inside the container as user `elasticsearch` using