https://prefect.io logo
Title
j

Jacqueline Riley Garrahan

02/28/2022, 7:38 PM
I have saved a flow to a docker registry and now would like to load and register with my prefect server. How can I load from the deployed image?
k

Kevin Kho

02/28/2022, 8:10 PM
Hi @Jacqueline Riley Garrahan, when you register, attach DockerRun as the RunConfig of your Flow. When the Flow runs, it will pull the image and execute the Flow. You just need to specify where the Flow is inside the container using the storage. See an example here When you register, you can do
flow.register(build=False)
j

Jacqueline Riley Garrahan

02/28/2022, 8:12 PM
Awesome- thank you!!