解决Windows下Docker启动Elasticsearch报max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]的报错
先打开 powershell或者cmd
执行:
wsl -d docker-desktop
再执行
sysctl -w vm.max_map_count=262144
解决Windows下Docker启动Elasticsearch报max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]的报错
先打开 powershell或者cmd
执行:
wsl -d docker-desktop
再执行
sysctl -w vm.max_map_count=262144