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`
2
Answers
You will need to have docker running. Try opening Docker Desktop and attempt your login again.
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