# Ulimit

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

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

## Remarks

This class is typically used to specify soft and hard limits for resources
such as file descriptors or process count for Docker containers.

## Definition

```go
type Ulimit interface{}
```

## Properties

- `Hard`: `*float64` `get/set` -- Gets or sets the hard limit for the resource control.
- `Soft`: `*float64` `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.
