Thursday, 16 September 2021

More fun with Docker and Homebrew - authentication this time

Following on from my earlier post: -

Homebrew on macOS - Docker says "No" - well, kinda 

I hit a related problem post the installation of Minikube etc.

When I tried to log into Docker Hub: -

docker login -u davidhay1969

I saw this: -

Password: 

Error saving credentials: error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``

This post: -

docker-credential-desktop not installed or not available in PATH

gave me the "solution" - it was another hangover from having Docker Desktop installed, namely this file: -

~/.docker/config.json

For whatever good reason, it was necessary to edit it, and replace credsStore with credStore

Once I did this, all was well ...

And, of course, docker login completely rewrote that file, removing any reference to either credsStore or credStore ...

Again... HANGOVER!

6 comments:

Anonymous said...

Thank you for this. Having a rough afternoon moving away from Docker Desktop.

Dave Hay said...

As one of my customers once said, and I repeat almost daily, every day is a school day :-)

Are we having fun yet ?

salesforce cpq training said...

I appreciate this valuable content, I have found IBM DataStage course at OnlineITGuru and I recommend others to explore it once.ibm datastage course

salesforce cpq training said...

This is one of the best explanations of MuleSoft online training I’ve come across. Very beginner-friendly content.

salesforce cpq course said...

Excellent explanation, and ServiceNow training online by OnlineITGuru helps professionals upgrade their skills conveniently.service now training online

salesforce cpq course said...

Wonderful post. Proper cpq training is becoming increasingly important for Salesforce professionals. Your article highlights the key benefits very well.salesforce cpq training uk

Note to self - Firefox and local connections

 Whilst trying to hit my NAS from Firefox on my Mac, I kept seeing errors such as:- Unable to connect Firefox can’t establish a connection t...