# Ulimit

- Module: [Aspire.Hosting.Docker](/reference/api/typescript/aspire.hosting.docker.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

Represents the configuration for system resource limits (ulimits) for a container.

## Definition

```typescript
interface Ulimit {
  hard: number;
  soft: number;
}
```

## Properties

- `hard`: `number` `get - set` -- Gets or sets the hard limit for the resource control.
- `soft`: `number` `get - set` -- 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.
