Join GitHub today
SOLVED: Mounting directories on Windows 10 do not seem to work #50
docker run --rm -v c:/Users/michael:/data alpine ls -la /data
Only showing "." and "..".
Docker version is:
(switched to Beta, since this didn't work in stable 1.12)
Password of "michael" is very short and has no special characters.
Tried to use share as "net use X: \SCOTT-TIGER-MW\michael\C"; dir X:\Users\michael. This worked as expected (list of content displayed).
Steps to reproduce the behavior
I have tried entering credentials in settings with and without machine-name. Docker seems to be using the machine-name just fine. But none of the options work.
Disabling Norton firewall and auto-protect allows the share to work. Even works with Norton protection reenabled. Restart Docker and the connection is lost again.
I was having the exact same problem as @michaelwiller but trying to map to a folder on C:
The firewall rules fixed it (along with a Docker restart). I'm not tying it down to an IP.
For anyone viewing this, here's two lines of powershell for the firewall rule: