Reputation: 15981
In Windows 10, trying to mount an external volume in docker
docker run --rm -v d:/data:/data alpine ls /data
gives this error
Error response from daemon: Drive has not been shared.
Upvotes: 17
Views: 6512
Reputation: 15981
Ensure you have shared the drive in settings
PS c:\>docker --version
Docker version 18.09.2, build 6247962
Upvotes: 24