连接到Docker上的服务时的凭据节省错误
我在硅芯片MacBook Pro运行MACOS MANTEREY版本12.0.1上,尝试使用sudo docker login ncvr.io
尝试连接到NGC服务时发生以下错误。
Error saving credentials: error storing credentials - err: exit status 1, out: `Post "http://ipc/registry/credstore-updated": dial unix /var/root/Library/Containers/com.docker.docker/Data/backend.sock: connect: no such file or directory`
I am on a silicon chip Macbook Pro running macOS Monterey version 12.0.1 and the following error occurs on attempting to connect to the NGC service using sudo docker login ncvr.io
.
Error saving credentials: error storing credentials - err: exit status 1, out: `Post "http://ipc/registry/credstore-updated": dial unix /var/root/Library/Containers/com.docker.docker/Data/backend.sock: connect: no such file or directory`
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我发现运行以下操作(假设您已经在命令行上)会有所帮助
,或者,作为运行脚本的一部分
I find that running the following (assuming you are already on the command line) helps
or, all in one go as part of my run script
您将需要让Docker运行。尝试打开Docker桌面,然后再次尝试登录。
You will need to have docker running. Try opening Docker Desktop and attempt your login again.
我遇到了同样的问题,可以通过删除
〜/.docker/config.json
文件来解决它。最初,它仅包含一个条目是“ Credstore = Desktop”。删除后,尝试再次登录,它更改为“ Osxkeychain”。来源: https://github.com/docker.com/docker/docker/docker-credential-helpers/issues/issues/issues/issues/issues /213
i had the same issue and could resolve it by deleting the
~/.docker/config.json
file. originally it contained only one entry being "credStore=desktop". after deletion, and trying to login again, it changed to "osxkeychain".source: https://github.com/docker/docker-credential-helpers/issues/213