Skip to content


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


Install prefect-docker

pip install prefect-docker


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.