I’m having the same issue right now, I’ve been playing with the credential store while trying to fix drive sharing issues. Have you tried going to Control Panel > Credential Manager > Windows Credentials and do you see the credentials for “Docker Host Filesystem Access” stored there?
If not, can you try to add them there yourself? Most likely you will get an error message. I’m about to reboot and hope that would solve my issue.
Hey @so0k. Yea, so I checked the Credential Manager and noticed that no credentials were being stored. I also tried manually adding credentials for “Docker Host Filesystem Access” and still no luck…
maybe a bit more details on what’s happening. When we share a drive we basically execute: net share C=C:\ /grant:<username>,FULL /CACHE:None
and we then check if the share is mountable on the host by executing: net use \\<machinename>\c /user:<username> <password> and then: net use \\<machinename>\c /delete
The reason the popup keeps popping up us because the first net use command failed. Unfortunately, we currently don’t log the error code, so it would be great you could execute the command in an elevated shell and post any error. We will improve the error logging.
Also, @anweiss, the snipped from your logs say: Storing credentials: [hostname]\[user]:***********
while mine say Storing credentials: DESKTOP-P5BO8M0\rneugeba:***********
Did you edit the log by hand?
Hey @rneugeba. So I am able to mount the share successfully using the same credentials that I have been using before. And yes, I purposely edited the log by hand to mask the creds in the post.
Are you saying you can mount the share successfully on the command line with the commands I suggested but you still have an issue with being prompted repeatedly?
I have to make Docker Beta client think the credentials are fine by putting them in the credential store First because when it tests the credentials it keeps failing and prompting me for it - but they DO work! If I can trick it to accept “already existing” credentials, it works fine
I initially thought it was related to the fact that my machine is on a domain and I was using a local user for the file share and it kept failing when I put in %COMPUTERNAME%\user, but the issue is also there when using domain credentials.
when I get root on the VM (by mounting the docker socket and running a privileged container (also disabling security profiles) and mounting the host filesystem then chroot-ing to host fs - I’m able to mount -t cifs everything from the host myself, but the Docker Beta Client keeps failing…
it would help if you let me know which service monitors the hyperv pools so I can trouble shoot that as well (I haven’t been able to find any processes other than the hp_kv_daemon that had handles on the hyperv pools in the VM… I created a help topic about this before - but no answer.
I was experiencing this same issue. I could not get my credentials to be accepted, so I tried the command listed above and realized my password had a space in it so I had to quote it, which worked on the command line. I changed my password to not have a space in it and then retried to share my drive via Docker and it accepted my credentials.
Ok so I stumbled across another thread in the forum https://forums.docker.com/t/volume-mounts-in-windows-does-not-work/10693/25 and noticed some issues with passwords containing special characters. In my case, my password contained an “@”. Upon changing it to use no special characters, the drive sharing enabled with no issues.
Would still be nice to see a more specific error about this in the logs or provide support for passwords with special characters.
I have the same issue on windows 10 redstone pre-release. Then I looked at another thread and found that the issue might because of me recent changing Microsoft account password. So I tried the old passcode and it worked. Sounds weird but so far it has been working.
Running stable Docker for Windows 1.12.1 build 7135
Do not run Docker for Windows as administrator
When I do a fresh install, the first time I provide my credentials everything works as expected. I am able to mount the shared drive of C: and it works. After some period of time or if I have to reboot, when I run Docker for Windows again, credentials are not longer accepted and I get the infinite username/password prompt.
Very frustrating as the only solution I have found is to reinstall Docker for Windows. This does not seem to work the first time every time either. This means I have to rebuild my docker images again.