# Volume

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

## Definition

```typescript
interface Volume {
  driver: string;
  driverOpts: Dict<string,string>;
  external: boolean;
  labels: Dict<string,string>;
  name: string;
  readOnly: boolean;
  source: string;
  target: string;
  type: string;
}
```

## Properties

- `driver`: `string` `get - set` -- Gets the Driver property
- `driverOpts`: `Dict<string,string>` `get - set` -- Gets the DriverOpts property
- `external`: `boolean` `get - set` -- Gets the External property
- `labels`: `Dict<string,string>` `get - set` -- Gets the Labels property
- `name`: `string` `get - set` -- Gets the Name property
- `readOnly`: `boolean` `get - set` -- Gets the ReadOnly property
- `source`: `string` `get - set` -- Gets the Source property
- `target`: `string` `get - set` -- Gets the Target property
- `type`: `string` `get - set` -- Gets the Type property
