Skip to content
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

fix(linux): DOCKER_CONFIG path #1102

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

Conversation

pendo324
Copy link
Member

Issue #, if available:

Description of changes:

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: Justin Alvarez <[email protected]>
@pendo324 pendo324 self-assigned this Sep 19, 2024
@@ -34,6 +34,11 @@ func (fp Finch) BuildkitSocketPath() string {
return filepath.Join(fp.FinchRuntimeDataDir(), "buildkit", "buildkitd.sock")
}

// DockerConfigPath returns the path to the docker config file.
func (fp Finch) DockerConfigPath() string {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DockerConfigDir?

Also, should we add a comment here that nerdctl uses ${DOCKER_CONFIG}/config.json for the authentication with image registries.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in latest revision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants