Can VertexRun manage to pull an image from private...
# ask-community
t
Can VertexRun manage to pull an image from private repo on Docker Hub ? If not, how can I accomplish that ?
Copy code
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
a
@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"