# KindMountModel Properties

- Package: [CommunityToolkit.Aspire.Hosting.Kind](/reference/api/csharp/communitytoolkit.aspire.hosting.kind.md)
- Type: [KindMountModel](/reference/api/csharp/communitytoolkit.aspire.hosting.kind/kindmountmodel.md)
- Kind: `Properties`
- Members: `5`

Represents a host volume mount into a Kind node container.

<a id="containerpath"></a>

## ContainerPath

- Name: `ContainerPath`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KindConfigModels.cs)

Gets or sets the path of the mount within the container.

```csharp
public string? ContainerPath { get; set; }
```

<a id="hostpath"></a>

## HostPath

- Name: `HostPath`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KindConfigModels.cs)

Gets or sets the path of the mount on the host.

```csharp
public string? HostPath { get; set; }
```

<a id="propagation"></a>

## Propagation

- Name: `Propagation`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KindConfigModels.cs)

Gets or sets the mount propagation mode (e.g., "None", "HostToContainer", or "Bidirectional"). When `null`, no propagation is set.

```csharp
public string? Propagation { get; set; }
```

<a id="readonly"></a>

## ReadOnly

- Name: `ReadOnly`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KindConfigModels.cs)

Gets or sets whether the mount is read-only. When `null`, the mount is read-write.

```csharp
public bool? ReadOnly { get; set; }
```

<a id="selinuxrelabel"></a>

## SelinuxRelabel

- Name: `SelinuxRelabel`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d479e13473b1d29d06b974f144a0049289a3cb5c/src/CommunityToolkit.Aspire.Hosting.Kind/KindConfigModels.cs)

Gets or sets whether the mount needs SELinux relabeling. When `null`, no relabeling is performed.

```csharp
public bool? SelinuxRelabel { get; set; }
```
