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

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Polish
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
  • Loading branch information
nosan committed Apr 24, 2025
commit 338a3a21594f09593f4b78fb1026a14e583d4ff2
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ For more details, see also xref:packaging-oci-image.adoc#build-image.examples.do

[NOTE]
====
By default, the plugin reads the user's existing Docker configuration file (usually located at `$HOME/.docker/config.json`) to retrieve authentication details. Based on it, the plugin supports the following authentication methods:
By default, *if credentials are not provided*, the plugin reads the user's existing Docker configuration file (usually located at `$HOME/.docker/config.json`) to retrieve authentication details. Based on it, the plugin supports the following authentication methods:

- *Credential Helpers*: External tools configured in the Docker configuration file to provide credentials for specific registries. For example, tools like `osxkeychain` or `ecr-login` handle authentication for certain registries.
- *Credential Store*: A default fallback mechanism that securely stores and retrieves credentials (e.g., `desktop` for Docker Desktop).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ For more details, see also xref:build-image.adoc#build-image.examples.docker[exa

[NOTE]
====
By default, the plugin reads the user's existing Docker configuration file (usually located at `$HOME/.docker/config.json`) to retrieve authentication details. Based on it, the plugin supports the following authentication methods:
By default, *if credentials are not provided*, the plugin reads the user's existing Docker configuration file (usually located at `$HOME/.docker/config.json`) to retrieve authentication details. Based on it, the plugin supports the following authentication methods:

- *Credential Helpers*: External tools configured in the Docker configuration file to provide credentials for specific registries. For example, tools like `osxkeychain` or `ecr-login` handle authentication for certain registries.
- *Credential Store*: A default fallback mechanism that securely stores and retrieves credentials (e.g., `desktop` for Docker Desktop).
Expand Down