Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker: Unable login to Docker Hub from Windows

Tags:

docker

I installed docker toolbox v17.03 in my windows 10. When I try to login using docker login, I get the following error.

error getting credentials - err: exec: "docker-credential-wincred": executable file not found in %PATH%, out: ``

Any ideas?

like image 210
jprism Avatar asked Dec 04 '22 21:12

jprism


2 Answers

Really apologize for jumping too fast. I think I sorted out. I initially installed Docker for Windows to use Hyper-V for virtualization and then had to uninstall since Windows 10 Home is not supporting. Then I installed Docker Toolbox. Looks like this added wincred in config.json in the .docker dir. All started working after removed the entries in the config.json

like image 57
jprism Avatar answered Jan 03 '23 18:01

jprism


You don't need to modify the config.json file. Just go to https://github.com/docker/docker-credential-helpers/releases and download the docker-credential-wincred-v0.6.0-amd64.zip. Unzip it and move the executable docker-credential-wincred.exe to the C:\Program Files\Docker Toolbox\ folder. It should do the trick.

like image 30
Marco Avatar answered Jan 03 '23 18:01

Marco