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

# docker

# `prefect.testing.docker`

## Functions

### `capture_builders` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/testing/docker.py#L9](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/testing/docker.py#L9)</sup>

```python theme={null}
capture_builders() -> Generator[list[ImageBuilder], None, None]
```

Captures any instances of ImageBuilder created while this context is active
