You can use the official Prefect Docker image to run a server in a container. If you’re running a server in a Docker container, you need to:Documentation Index
Fetch the complete documentation index at: https://docs.prefect.io/llms.txt
Use this file to discover all available pages before exploring further.
- Port forward the server to your local machine (e.g.
-p 4200:4200) - Set the
--hostflag on theprefect server startcommand to0.0.0.0 - Set the API server address,
PREFECT_API_URL, to use Prefect within a container.
prefect profile is configured to point at your containerized server.