Ulimit
Class sealed net10.0
Represents the configuration for system resource limits (ulimits) for a container.
namespace Aspire.Hosting.Docker.Resources.ServiceNodes;
public sealed class Ulimit{ // ...}Remarks
Section titled Remarks This class is typically used to specify soft and hard limits for resources such as file descriptors or process count for Docker containers.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesHardget; setint? Gets or sets the hard limit for the resource control.
Softget; setint? Defines the soft limit for the Ulimit configuration. The soft limit is the value for resource restrictions that a process is allowed to increase up to the hard limit. This property is nullable, which indicates that this configuration might not be set.