the configured user limit(128) on the number of inotity instances has been reached
添加环境变量
#可以减少配置文件监听
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE: "false"
#不做文件监听
DOTNET_USE_POLLING_FILE_WATCHER: "true"
官方说明:https://learn.microsoft.com/zh-cn/aspnet/core/host-and-deploy/docker/?view=aspnetcore-8.0
意为不做配置文件监听,即配置文件改变不进行热重载
附:查看当前正在监听inotify的程序
apt-get install lsof
lsof | grep inotify