You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed testcontainers does it manually by executing the credentials provider, but that's a lot of work, doesn't support the settings.json in Docker Desktop, and I'd have expected it to work out of the box.
Is there a way of configuring the Docker client to do this itself, and if not, why not? I would have expected this to be done by the Docker daemon in the background.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
If I'm using Docker Desktop on Windows with a credentialsHelper configured in my
%APPDATA%/Docker/settings.json
, e.g.:I can pull an image as follows:
And Docker will use the configured credentials helper to get the right credentials (e.g. from
~/.aws
for the ECR helper above).But if I use the docker-java, e.g.
it fails as it doesn't have any credentials.
I noticed testcontainers does it manually by executing the credentials provider, but that's a lot of work, doesn't support the
settings.json
in Docker Desktop, and I'd have expected it to work out of the box.Is there a way of configuring the Docker client to do this itself, and if not, why not? I would have expected this to be done by the Docker daemon in the background.
Beta Was this translation helpful? Give feedback.
All reactions