> ## Documentation Index
> Fetch the complete documentation index at: https://prefect-bd373955-pytest-markdown.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# prefect-docker

The prefect-docker library is required to create deployments that will submit runs to most Prefect work pool infrastructure types.

## Getting started

### Prerequisites

* [Prefect installed](3.0rc/get-started/install) in a virtual environment.
* [Docker installed](https://www.docker.com/) and running.

### Install prefect-docker

Install or update to the latest version of the prefect-docker library and dependencies.

<Tabs>
  <Tab title="Prefect 2">
    ```bash
    pip install -U prefect-docker
    ```
  </Tab>

  <Tab title="Prefect 3">
    ```bash
    pip install -U -pre prefect-docker
    ```
  </Tab>
</Tabs>

### Examples

See the Prefect [Workers docs](3.0rc/deploy/dynamic-infra/push-runs-remote) to learn how to create and run deployments that use Docker.

## Resources

For assistance using Docker, consult the [Docker documentation](https://docs.docker.com/).

Refer to the prefect-docker SDK documentation linked in the sidebar to explore all the capabilities of the prefect-docker library.
