This message was deleted.
# rancher-desktop
a
This message was deleted.
s
This one did not handle the sysctl change properly in my testing.
c
That looks like a clear error in the docs, because the first case has the maximum map count check before
EOF
which will places it in the
rancher-desktop.conf
and that doesn’t seem correct 🤔
I believe it was intended to be
Copy code
provision:
- mode: system
  script: |
    #!/bin/sh
    cat <<'EOF' > /etc/security/limits.d/rancher-desktop.conf
    * soft     nofile         82920
    * hard     nofile         82920
    EOF
    sysctl -w vm.max_map_count=262144
s
that should also work, but making a limits config file w/ sysctl cmd in it will not work
👍 1
c
Thanks for reporting this I have created an issue here: https://github.com/rancher-sandbox/rancher-desktop/issues/4378 and assigned it to our docs team.
🙏 1
🎉 1