<@U04EATBG0E8> how do I run a Prefect flow in a Do...
# ask-marvin
r
@ask-marvin how do I run a Prefect flow in a Docker container?
a
Let me check that for you @Rob Freedy
You can use the
run_in
function to run a flow in a Docker container.
Copy code
from prefect import flow, run_in@flow()def my_flow():    print(run_in(image={"docker": "hub"}))    if __name__ == "__main__":    my_flow()