Thread
#best-practices-coordination-plane
    Sergey Goncharov

    Sergey Goncharov

    2 months ago
    Hi all! I've already written that question into #prefect-community , but maybe it's better to ask here I'm new here and only started with my way with Prefect. I'd like to ask if someone could give some advice or just a documentation (I haven't found any): I'm using Prefect 2.0/beta, there I'd like to create a deployment for a flow with multiple tasks, each of them should use its own docker image. For Prefect v1 I used CreateContainer from prefect.tasks.docker library, but for Prefect v2 I cannot find any replacement. Please, any advices? Does Prefect 2 have that feature?
    Dylan

    Dylan

    2 months ago
    Hey @Sergey Goncharov! Prefect 2 doesn’t support per-task images at this time. However, it’s very straightforward to create a flow that starts other flows, each of which can use their own image. Here’s a doc that discusses subflows: https://orion-docs.prefect.io/concepts/flows/#subflows
    Sergey Goncharov

    Sergey Goncharov

    2 months ago
    thank you a lot! Seems like what I've been looking for
    Dylan

    Dylan

    2 months ago
    🙌