Docker Community Forums

Share and learn in the Docker community.

Can not share a drive - infinite prompts for username/password


(Teilo) #1

Well leaving aside that having to share a drive gives me the jitters (I should be able to share a folder…)

Expected behavior

When I enable the “Shared” option against the OS Drive © in Settings -> Shared Drives then I am prompted for a username and password (I presume this wants admin access)
And I enter a username and password for a local administrative account
then the drive should be shared correctly so I can mount volument in docker

Actual behavior

infinite recursion in the password dialog.
(yes the user has administrative rights, and yes the password is correct).

The machine is not connected to a domain.

Information

[21:43:40.835][Mixpanel       ][Info   ] Usage Statistic: appRunning
[21:49:27.272][NamedPipeClient][Info   ] Sending IsShared(C, <<NULL>>:**********)...
[21:49:27.349][NamedPipeClient][Info   ] Received response for IsShared
[21:49:27.352][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:49:27.441][NamedPipeClient][Info   ] Received response for TryShare
[21:49:27.444][NamedPipeClient][Info   ] Sending IsShared(C, <<NULL>>:**********)...
[21:49:27.493][NamedPipeClient][Info   ] Received response for IsShared
[21:49:46.769][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:49:46.866][NamedPipeClient][Info   ] Received response for TryShare
[21:49:57.591][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:49:57.689][NamedPipeClient][Info   ] Received response for TryShare
[21:50:02.752][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:50:02.847][NamedPipeClient][Info   ] Received response for TryShare
[21:50:09.999][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:50:10.098][NamedPipeClient][Info   ] Received response for TryShare
[21:50:15.038][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:50:15.137][NamedPipeClient][Info   ] Received response for TryShare
[21:50:20.050][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:50:20.148][NamedPipeClient][Info   ] Received response for TryShare
[21:50:37.028][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:50:37.129][NamedPipeClient][Info   ] Received response for TryShare
[21:50:48.111][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:50:48.203][NamedPipeClient][Info   ] Received response for TryShare
[21:51:21.908][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:51:22.005][NamedPipeClient][Info   ] Received response for TryShare
[21:51:25.097][Auth           ][Info   ] User cancelled auth prompt
[21:54:14.623][Cmd            ][Info   ] 
[21:54:14.628][Cmd            ][Info   ] CMDKEY: Element not found.
[21:54:14.632][NamedPipeClient][Info   ] Sending Unmount(C)...
[21:54:15.254][NamedPipeClient][Info   ] Received response for Unmount
[21:54:19.964][NamedPipeClient][Info   ] Sending IsShared(C, <<NULL>>:**********)...
[21:54:20.015][NamedPipeClient][Info   ] Received response for IsShared
[21:54:20.018][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:54:20.106][NamedPipeClient][Info   ] Received response for TryShare
[21:54:20.109][NamedPipeClient][Info   ] Sending IsShared(C, <<NULL>>:**********)...
[21:54:20.162][NamedPipeClient][Info   ] Received response for IsShared
[21:54:26.331][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:54:26.429][NamedPipeClient][Info   ] Received response for TryShare
[21:54:30.799][NamedPipeClient][Info   ] Sending TryShare(C, <<NULL>>:**********)...
[21:54:30.894][NamedPipeClient][Info   ] Received response for TryShare
[21:54:31.978][Auth           ][Info   ] User cancelled auth prompt

Steps to reproduce the behavior

  1. install windows 10 pro and hyper-v - Duh!
  2. create a non admin user (bob)
  3. Give bob Hyper-V admin rights
  4. install docker for Windows beta
  5. login as bob
  6. verify that all docker stuff works as normal (skip testing volumes)
  7. go to docker -> settings > shared drives
  8. try and share “c” using the bob credentials. (fail - keep getting username/password prompt)
  9. try and share “c” using the administrators credentials (fail - keep getting username/password promot).

Docker version 1.12.0-rc4, build e4a0dbc, experimental

A diagnostic was uploaded with id: 460AAD76-20D6-4696-B2B5-70172D759E72/2016-07-25_22-05-59