欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > windows >内容正文

windows

Windows下Docker启动Elasticsearch报max virtual memory areas vm.max_map_count [65530] is too low, increase

发布时间:2024/3/26 windows 62 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Windows下Docker启动Elasticsearch报max virtual memory areas vm.max_map_count [65530] is too low, increase 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

解决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的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。