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

Getting started

Prerequisites

Install prefect-docker

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

Examples

See the Prefect Workers docs to learn how to create and run deployments that use Docker.

Resources

For assistance using Docker, consult the Docker documentation. Refer to the prefect-docker SDK documentation linked in the sidebar to explore all the capabilities of the prefect-docker library.