Thread
#prefect-community
    Tilak Maddy

    Tilak Maddy

    9 months ago
    Can VertexRun manage to pull an image from private repo on Docker Hub ? If not, how can I accomplish that ?
    flow.run_config = VertexRun(
        image="example/my-custom-private-image:latest",
        machine_type="e2-highmem-8",
    )
    https://docs.prefect.io/orchestration/flow_config/run_configs.html#vertexrun
    Anna Geller

    Anna Geller

    9 months ago
    @Tilak Maddy this should work. You would need to ensure that your agent is authenticated with your private Dockerhub registry. The easiest way to do it would be to authenticate in the same session/process before you start the agent. The command would be something like: "docker login -u YOUR_USERNAME -p PASSWORD"