I am using elastic search in my php project and having an issue in Windows 10.
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
I fixed it by using this command but I am running it every times before I run docker-compose up -d. I don't want to run it every times. Can anyone tell me the way how I can set vm.max_map_count on windows docker container permanently?
wsl -d docker-desktop
sysctl -w vm.max_map_count=262144