Open lzivan opened 4 months ago
vm.max_map_count
is for Linux. If you run Ragflow on Docker for Windows successfully, then you can ignore it. If elasticsearch can't be started, you can edit your .wslconfig file to allocate more resources (especially memory) for Docker (assuming you use WSL2 rather than hyper-v as Docker's backend engine).I've used the solution from here: https://stackoverflow.com/questions/42111566/elasticsearch-in-windows-docker-image-vm-max-map-count And it started without any problems.
I have been stuck for months on this problem, the solution is launch the following commands on cmd.exe (try Powershell or Bash if cmd doesn't work), as stated in the official Elasticsearch documentation:
1) wsl -d docker-desktop 2) sysctl -w vm.max_map_count=262144 And you are ready to start Elasticsearch!
Describe your problem
Dear Ragflow team,
I’m working on a project involving Ragflow and I have a couple of questions regarding its compatibility with Docker on a Windows environment.
1.Compatibility with Docker on Windows:
2.Adjusting vm.max_map_count on Windows:
Any insights or additional documentation you can provide would be greatly appreciated. Thank you!