Docker Community Forums

Share and learn in the Docker community.

Not able to share drives on Windows 10 - Docker for Windows Version 2.0.0.0-beta1-win75 (19925)


(Zarvak) #1

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)

PS C:…\Users> docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 55
Server Version: 18.09.0-ce-beta1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.125-linuxkit
Operating System: Docker for Windows
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.837GiB
Name: linuxkit-00155df0011b
ID: MA35:AZWJ:LQCQ:5BNL:JSA5:KP6A:AYQO:E6HK:HHN4:UBHV:C7PA:TH6U
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 22
Goroutines: 47
System Time: 2018-10-05T11:29:50.3245791Z
EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
docker.iscinternal.com
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine


(Zarvak) #2

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’.


(Stuartmitcham) #3

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 :frowning_face:
Maybe see if your network guys could allow Docker to share the drive


(Zarvak) #4

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.

Descarga Outlook para iOS