# KindMountModel

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/csharp/communitytoolkit.aspire.hosting.kind.md)
- Version: `13.4.1-beta.706`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KindConfigModels.cs)

Represents a host volume mount into a Kind node container.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class KindMountModel
{
    // ...
}
```

## Constructors

- [KindMountModel](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel/constructors.md#constructor)

## Properties

- [ContainerPath](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel/properties.md#containerpath) : `string?` `get; set` -- Gets or sets the path of the mount within the container.
- [HostPath](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel/properties.md#hostpath) : `string?` `get; set` -- Gets or sets the path of the mount on the host.
- [Propagation](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel/properties.md#propagation) : `string?` `get; set` -- Gets or sets the mount propagation mode (e.g., "None", "HostToContainer", or "Bidirectional"). When `null`, no propagation is set.
- [ReadOnly](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel/properties.md#readonly) : `bool?` `get; set` -- Gets or sets whether the mount is read-only. When `null`, the mount is read-write.
- [SelinuxRelabel](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel/properties.md#selinuxrelabel) : `bool?` `get; set` -- Gets or sets whether the mount needs SELinux relabeling. When `null`, no relabeling is performed.
