> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# types

# `prefect_docker.types`

## Functions

### `is_relative_bind_source` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-docker/prefect\_docker/types.py#L9](https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-docker/prefect_docker/types.py#L9)</sup>

```python theme={null}
is_relative_bind_source(source: str) -> bool
```

Return whether a volume host source is an explicit relative path
(`.`, `..`, or a path starting with `./`, `../`, `.\`, or `..\`).

### `assert_volume_str` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-docker/prefect\_docker/types.py#L17](https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-docker/prefect_docker/types.py#L17)</sup>

```python theme={null}
assert_volume_str(volume: str) -> str
```

Validate a Docker volume string and raise `ValueError` if invalid.
