Using `DockerRun` or `VertexRun` (I'm using prefec...
# ask-community
c
Using
DockerRun
or
VertexRun
(I'm using prefect from master branch), is it possible to specify an image elsewhere than DockerHub (along with secrets to access it)?
a
@Chris Arderne yes, that’s possible. However, the login session must be configured on the agent machine because the agent is pulling the image. Before starting the agent, you can log into the registry - the syntax below may vary a little depending on which registry you use:
Copy code
docker login -u username -p password registry_url
So if you already have a Docker agent running, you would need to stop it, authenticate to your registry, and then start the agent again in the same session as you authenticated.
🙌 1
upvote 1