https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
m

melodic-nest-79477

06/14/2022, 9:53 AM
I'm trying to start an elasticsearch / opensearch docker-compose stack but getting opensearch-node2 | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] Any idesa how I can set vm.max_map_count either at the container level or os level ?
f

freezing-airplane-30363

06/14/2022, 11:53 AM
Hi, you may try to open lima shell by
rdctl shell
and then in the shell execute
sysctl -w vm.max_map_count=262144
but bear in mind that it is only temporary change until you stop rancher-desktop. To make it permanent you can follow https://docs.rancherdesktop.io/how-to-guides/provisioning-scripts/
👍 2
l

lively-vegetable-20672

08/26/2022, 12:45 PM
Hey @freezing-airplane-30363 I was looking for the exact same thing and your solution did the trick. Thanks a lot!
f

freezing-airplane-30363

08/29/2022, 9:34 AM
@lively-vegetable-20672 Hi, I'm glad you found it helpful!
592 Views