Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Conversation

@xenoscopic
Copy link
Contributor

@xenoscopic xenoscopic commented Jun 21, 2025

Copying a config.json with a "credsStore": "desktop" entry will cause invocation of the (local-only) docker-credential-desktop in remote environments (e.g. CE and Cloud).

I'm not sure how to work around this, but right now the code breaks pulls for public, non-"ai/" repositories from Cloud environments.

I'm also not sure how to make copyDockerConfigToContainer safe for concurrent installs, but that's a separate issue.

I've left the supporting code in-place for now, but I think we should triage this until @ilopezluna returns.

This didn't go out with v0.1.30 so there's no rush to find a workaround. Perhaps we disable it if the local environment is Docker Desktop? Cloud might be the only scenario where that's the case.

Copying a config.json with a "credsStore": "desktop" entry will cause
invocation of the non-existent docker-credential-desktop in remote
environments (e.g. CE and Cloud).

I'm not sure how to work around this, but right now it disables pulls
for public, non-"ai/" repositories.

I'm also not sure how to make `copyDockerConfigToContainer` safe for
concurrent installs, but that's a separate issue.

Signed-off-by: Jacob Howard <[email protected]>
@xenoscopic xenoscopic requested review from a team and ilopezluna June 21, 2025 00:03
Copy link

@p1-0tr p1-0tr left a comment

Choose a reason for hiding this comment

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

LGTM

nit: perhaps we should leave a FIXME in the code to avoid forgetting about this workaround?

Copy link
Collaborator

@doringeman doringeman left a comment

Choose a reason for hiding this comment

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

Sure, but don't we want to remove the function as well?

@xenoscopic
Copy link
Contributor Author

Closing in favor of #105

@xenoscopic xenoscopic closed this Jun 26, 2025
@xenoscopic xenoscopic deleted the disable-credentials branch June 26, 2025 22:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants