Skip to content

prefect-docker

The prefect-docker library is required to create deployments that will submit runs to most Prefect work pool infrastructure types. See the Prefect tutorial and the Docker guide to learn how to create and run deployments that use Docker.

Getting started

Prerequisites

Install prefect-docker for Prefect 2

pip install 'prefect[docker]<3'

Resources

For assistance using Docker, consult the Docker documentation.

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