Scott Zelenka03/30/2020, 4:08 PM
and it gets orchestrated to run in Cloud, it fails with the
. I'd like to simulate running the serialized flow within the Docker image it generated locally, to see if I can figure out what's different between that environment and my local machine. Is there a proper way to do this?
josh03/30/2020, 5:14 PM
^ exec’d into the container
from prefect.environments.storage import Docker flow = Docker().get_flow(flow_location="/root/.prefect/my_flow.prefect") flow.run()
from prefect import Flow f = Flow.load("slug-name-of-flow")