23

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`
Daemonique
  • 468
  • 2
  • 5
  • 15

2 Answers2

55

You will need to have docker running. Try opening Docker Desktop and attempt your login again.

Kieran
  • 771
  • 7
  • 14
27

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

Christoph Pickl
  • 371
  • 3
  • 4