busy-evening-57345
01/02/2025, 10:50 AMconfig.json for a pulumi_docker.docker.Image by creating a custom pulumi_docker.docker.Provider, but somehow 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:
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.clever-sunset-76585
01/17/2025, 3:59 AMconfig_file_content as you originally intended to use the custom Provider instance.clever-sunset-76585
01/17/2025, 4:00 AMbusy-evening-57345
01/17/2025, 10:55 AM3.94.2 and the pulumi-docker provider version 4.4.3 . We haven't updated recently. Also I didn't intend and didn't use a custom Provider for this Images before. I am only trying to use it now to work around this error.
I'll explain it a bit further: The credStore was previously set to empty in the user's config.json. Now, I want to interact with another container registry that requires authentication, which means the credStore entry will be used. However, as soon as the credStore contains something, this part of the code triggers the error mentioned above.clever-sunset-76585
01/17/2025, 8:10 PM