sergeycherepanov / homebrew-docker-virtualbox

Docker workaround for Ryzentosh (AMD based Hackintosh)
208 stars 20 forks source link

docker-credential-desktop error #9

Closed eliasjnior closed 3 years ago

eliasjnior commented 3 years ago

I think it's missing the link to docker-credential-desktop. I tried to pull mariadb and got the error:

dockerpycreds.errors.InitializationError: docker-credential-desktop not installed or not available in PATH

So was fixed by:

ln -s "/Applications/Docker.app/Contents/Resources/bin/docker-credential-desktop" /usr/local/bin/docker-credential-desktop
sergeycherepanov commented 3 years ago

@eliasjnior

I think the issue caused because you have installed the docker desktop. I will look at this.

eliasjnior commented 3 years ago

@sergeycherepanov I installed Docker Desktop after tried that because was missing that file. Thanks for the script, anyway!

sergeycherepanov commented 3 years ago

@eliasjnior could you provide the full command which you used?

eliasjnior commented 3 years ago

@sergeycherepanov I was trying to run docker-compose up -d. Almost sure that the problem was with a mariadb container.

Then I added the Docker.app and ln -s "/Applications/Docker.app/Contents/Resources/bin/docker-credential-desktop" /usr/local/bin/docker-credential-desktop to link that docker-credential-desktop.

sergeycherepanov commented 3 years ago

@eliasjnior thanks for the details

But currently, I was checked it with several compose configs and with docker login command. All works without any issues. I think this is an environment-dependent issue. Just open again the issue if you find steps to reproduce.