max_map_count 过小无法启动 使用 .wslconfig 来控制 wsl 的内存大小1 然后 wsl --shutdown 使其生效 进入 wsl 容器后调整 vm.max_map_count=262144, 详细命令是 sudo sysctl -w vm.max_map_count=262144 注意不要 sudo vim 那是没用的.2 8.x 默认 ssl Docker 中使用 cp 复制 /usr/share/elasticsearch/config/certs/http_ca.crt 然后移入受信任的根证书颁发机构3 Footnotes https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig ↩ https://www.elastic.co/guide/en/elasticsearch/reference/8.0/docker.html#_windows_with_docker_desktop_wsl_2_backend ↩ https://github.com/cars10/elasticvue/wiki/Access-clusters-using-SSL ↩
https://gist.github.com/bxb100/5ee0fd780afbb17d3838e56d870a26c4