Change vm.max_map_count on Docker WSL2 backend (#58153)
This commit adds docs for how to change vm.max_map_count when running on Docker Desktop with WSL2 backend on Windows.
This commit is contained in:
parent
e641981c15
commit
152d330369
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue