Skip to content

Add support for Docker's credential stores and helpers #45269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nosan
Copy link
Contributor

@nosan nosan commented Apr 23, 2025

I left TODO in DefaultDockerRegistryAuthentication for consideration.

I didn't have time to update the documentation.

See #44633

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 23, 2025
@nosan nosan changed the title Improve Docker registry authentication handling Add support for Docker's credential stores and helpers Apr 23, 2025
@nosan nosan force-pushed the 44633 branch 3 times, most recently from 7e7684d to 0990c9a Compare April 24, 2025 08:11
This commit includes Docker CLI default authentication, leveraging
credential helpers, the credential store, and static credentials.

Previously, empty credentials were used by default. With this commit,
a DefaultDockerRegistryAuthentication is introduced. It reads the Docker
configuration file and, based on its contents, determines the appropriate
authentication details for the requested ImageReference

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
nosan added 2 commits April 24, 2025 13:03
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
@nosan
Copy link
Contributor Author

nosan commented Apr 24, 2025

@philwebb
I'm not sure if you've started reviewing or working on this PR yet, but just as an FYI, I've pushed a few additional polish commits (I did not squash them).

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
@philwebb
Copy link
Member

Thanks, I've started and I'm hoping to finish something before RC1 but it's going to be tight :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants