https://prefect.io logo
Title
m

Manuel Mourato

04/20/2020, 9:09 PM
Hello guys I have a question regarding the use of a storage of type Docker: I have defined a flow and have set Docker as the storage type, specifying the image name among other parameters. I then build the image and register the flow, and indeed an image is generated with the respective flow inside. But now, I have other flows, and I want to save them to the same image that the other first flow is in. So, I want to increment the flows inside a given image, so that I can then deploy this single image with all flows to my production environment. However, everytime I register a new flow, it recreates the image, leaving only the most recent flow. Is there a way to get around this? Thank you.
k

Kyle Moon-Wright

04/20/2020, 9:13 PM
Hey Manuel, Here’s a deployment recipe that details how to add multiple flows to a single Docker storage object: https://docs.prefect.io/orchestration/recipes/multi_flow_storage.html
🎉 2
m

Manuel Mourato

04/20/2020, 9:16 PM
🤦‍♂️ how have not seen this before.Exactly what I needed, thank you!
k

Kyle Moon-Wright

04/20/2020, 9:19 PM
Ha, I discover new stuff all the time! The documentation is cavernous and mysterious place…
😂 1