Run a containerized Prefect server instance with Docker.
-p 4200:4200
)--host
flag on the prefect server start
command to 0.0.0.0
PREFECT_API_URL
, to use Prefect within a container.-d
flag runs the container in detached mode (i.e. in the background) and the --rm
flag removes the container once it is stopped.prefect
profile is configured to point at your containerized server.