devcontainers / devcontainers/cli

Pulling features from ghcr hanges without access token in creds store

Ouverte
#610 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
bug info-needed
Langage dominant
TypeScript
Étoiles
3k
Forks
457
Merge moyen
13 h 17 min
PR mergées (30 j)
6

Description

Hi,

It took me forever to figure out why my "open in dev container" commands were hanging every time it needed to pull an image from a repository to use a feature, usually ghcr from what i noticed. Weirdly enough, running `docker-credential-desktop get` would hang in both Powershell and WSL. and I noticed this was the step that the boot sequence would usually hang on. I got around this by running `docker login https://ghcro.io --username ` and using a classic personal access token. now the images seem to be pulling fine, but there was no indication this was causing the issue, and took a lot of digging around and figuring out what was happening in the credsStore config, etc.

Not sure if this is a Windows/WSL issue only but it seems like OSX users were running into a lot of credentials issues in open issues during my research.

I hope this is helpful feedback.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire la récupération de l’image de fonctionnalité du conteneur de développement depuis ghcr dans PowerShell et WSL, puis comparez la séquence de démarrage avec `docker-credential-desktop get` et la configuration `credsStore`. C’est terminé lorsque la récupération ne se bloque plus ou signale clairement le problème d’identifiants, avec un comportement vérifié par rapport au contournement `docker login` signalé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
docker, powershell
Domaine
cli, devops
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.