What is the best way to pass GCR credentials to Do...
# ask-community
d
What is the best way to pass GCR credentials to DockerRunLauncher?
@daniel 🙏
d
it's a US holiday so we can take a closer look tomorrow but you could check out https://github.com/GoogleCloudPlatform/docker-credential-gcr
d
Oh sure! Sorry for disturbing you. It’s not urgent, no pressure. I’m using the credentials helper but I am not sure about the best way to pass the credentials to the dagster-daemon container. I want it to be able to pull images. As I understand, dagster.yaml only supports user-password credentials Should I mount docker config.json?
@daniel would you be able to help me now? 🙂
d
oh, yes, this example is for the agent but i think would work fro the daemon too https://docs.dagster.io/dagster-cloud/deployment/agents/docker/configuring-running-docker-agent#credential-helpers
d
ok so this indeed is the way. Thank you!