# ContainerMountType

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

Represents the type of a container mount.

## Definition

```go
type ContainerMountType string

const (
    ContainerMountTypeBindMount ContainerMountType = "BindMount"
    ContainerMountTypeVolume    ContainerMountType = "Volume"
)
```

## Values

- `ContainerMountTypeBindMount` = `"BindMount"` -- A local directory or file that is mounted into the container.
- `ContainerMountTypeVolume` = `"Volume"` -- A volume.
