Hi @Anna Geller@Kevin Kho I am now running Docker Agent in a container, and I can see new containers being spun up on the host machine for each flow (instead of being spun up within the agent container). However, this docker agent inside a container is facing issue pulling images from gcr.io
Copy code
500 Server Error for <http+docker://localhost/v1.41/images/create?tag=v3&fromImage=gcr.io%2Fchristopherchong-mysdev00-id%2Fprefect-flows>: Internal Server Error ("unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: <https://cloud.google.com/container-registry/docs/advanced-authentication>")
Is there any way we can pass docker credentials to Docker Agent or Docker Run? Or is there some other way I can authenticate this Docker Agent inside a container to pull image from GCR?
@Anna Geller thanks for the reply. We might not want to use any JSON key due to security concern, is there any other way?
a
Anna Geller
12/07/2021, 10:13 AM
all ways to authenticate with GCR are listed on this page, choose whichever method you prefer
c
Christopher Chong Tau Teng
12/08/2021, 4:33 AM
@Anna Geller got it. Side question, when Docker Agent pulls images from remote repo, which user is it running as? the docker security group user or root?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.