Hi,
I can’t share my C: drive. I click on it, it asks for my credentials which I set correctly and then just “uncheck” the box by its own… so I cannot share the drive.
Is this a known bug? I’m running last edge version: Version 2.0.0.0-beta1-win75 (19925)
This is the message when I try to mount a directory directly with the run… the Share it window opens, then I introduce my credentials… an I get:
PS C:…\system32> docker run --rm -v c:/Users:/data alpine ls /data
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: An error occurred while sharing drive.
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.
Hi,
Are you on a corporate network?
I’ve had exactly the same problem and it turns out that the company security policy forbids drive sharing across networks and there was nothing I could do about it
Maybe see if your network guys could allow Docker to share the drive
Not in my case. Everything was in my laptop even if I was not in VPN.
In the end I had to uninstall and reinstall. Now it works again… But not being able why and how it happened doesn’t make me feel very comfortable. Let’s see.
I am also getting this issue. When I review the log, here is the output:
[23:13:13.497][NamedPipeServer][Info ] Version()
[23:13:13.498][NamedPipeServer][Info ] Version done in 00:00:00.0009966.
[23:13:13.499][NamedPipeServer][Info ] Mount(All, D, docker:**********, Docker.Core.Settings)
[23:13:13.592][SambaShare][Info ] Mount D
[23:13:13.625][Cmd][Info] This shared resource does not exist.
[23:13:13.625][Cmd][Info] More help is available by typing NET HELPMSG 2310.
[23:13:13.627][SambaShare][Info] "D" is not shared
[23:13:13.627][SambaShare][Info] Creating share "D:\" as "D" with Full Control to "docker"
[23:13:13.699][Cmd][Info] D was shared successfully.
[23:13:13.739][Cmd][Info] Share name D
[23:13:13.739][Cmd][Info] Path D:\
[23:13:13.739][Cmd][Info] Remark
[23:13:13.739][Cmd][Info] Maximum users No limit
[23:13:13.739][Cmd][Info] Users
[23:13:13.739][Cmd][Info] Caching Caching disabled
[23:13:13.739][Cmd][Info] Permission TITAN\docker, FULL
[23:13:13.739][Cmd][Info] The command completed successfully.
[23:13:13.741][SambaShare][Info] "D" is shared
[23:13:13.743][SambaShare][Info] Username: docker
[23:13:13.743][SambaShare][Info] Host IP: 10.0.75.1
[23:13:13.743][SambaShare][Info] Cifs options: noperm,iocharset=utf8,dir_mode=0777,nobrl,mfsymlinks,vers=3.02,domain=TITAN,sec=ntlmsspi
[23:13:14.689][SambaShare][Error] Unable to mount D drive: Cannot find /var/run/desktop/docker.pid in the docker container
This last line has me confused and I can’t find a reference online anywhere:
Unable to mount D drive: Cannot find /var/run/desktop/docker.pid in the docker container
–
This has me at a complete stand-still and any assistance would be greatly appreciated.