-
Notifications
You must be signed in to change notification settings - Fork 605
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
Nerdctl client sometimes wants both a populated auths
field when credsStore
gives credentials
#1308
Comments
Why you expect |
Actually, |
We have more of a repro:
Even then it depends on the state of I think the error happens when I see this from a linux host: $ cat /root/.docker/config.json and The problem is that ac.Username and ac.Password are correctly retrieved via pass, but the config-file loader reports that ac.ServerAddress is the empty string, possibly because of the empty Now.... all of the code called by So I would guess that the interpretation is incorrect -- if we have a username & password for the well-known docker |
auths
field when credsStore
gives credentials
auths
field when credsStore
gives credentials auths
field when credsStore
gives credentials
Description
A Rancher Desktop user can get into a state where when they run
nerdctl run SOME_IMAGE
, they see the error messageThis was exposed when PR #1270 was merged into master.
Steps to reproduce the issue
This triggers the above error message
Describe the results you received and expected
I expected to see an image get pulled.
What version of nerdctl are you using?
0.22.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Rancher Desktop for macOS
Host information
The text was updated successfully, but these errors were encountered: