Hello everyone, I hope the new year has started of...
# python
b
Hello everyone, I hope the new year has started off well for you. I received a message from the bot and my question should fit better here than in #C84L4E3N1: I am trying to overwrite docker's default
config.json
for a
pulumi_docker.docker.Image
by creating a custom
pulumi_docker.docker.Provider
, but it doesn't work and I'm not sure what could be the cause. I added a small example. Also, why am i doing this: If i leave the
config.json
as is, including its
credsStore
, i receive this error:
Copy code
docker:index:Image (name-of-the-image):
    Building your image for linux/amd64 architecture.
    To ensure you are building for the correct platform, consider explicitly setting the `platform` field on ImageBuildOptions.
    error: error listing credentials - err: exit status 255, out: ``
If i set the
credsStore
empty inside my
~/.docker/config.json
like
{"credsStore": "" }
it works fine, but then i obviously won't be able to authenticate anymore. Any help is appreciated. ( Original message: https://pulumi-community.slack.com/archives/C84L4E3N1/p1735815037848129 )