This message was deleted.
# rancher-desktop
a
This message was deleted.
w
I've tried increasing fs.inotify.max_user_instances and fs.inotify.max_user_watches via a provisioning script in
%AppData%\rancher-desktop\provisioning
%AppData%\rancher-desktop\provisioning\fix.start Contents:
#!/bin/sh
sysctl -w fs.inotify.max_user_instances=262144
sysctl -w fs.inotify.max_user_watches=262144
sysctl -w vm.max_map_count=262144
As far as I can tell that has no effect on the running values though
I recently updated from 1.7
Modifying the values directly works but I assume it may not be persisted
wsl -d rancher-desktop
sysctl -w fs.inotify.max_user_instances=262144
sysctl -w fs.inotify.max_user_watches=262144
You can also set an environment variable to disable the config file watching per container if you don't require it:
ASPNETCORE_hostBuilder__reloadConfigOnChange=false
But, it would be nice to get the provisioning approach working