Expected behavior
“docker run -v c:/Users:/data alpine ls /data” should display contents of c:/Users
Actual behavior
No output is displayed
Information
Running Docker for Windows 1.11.1 on Windows 10 Pro in a VMware virtual machine. Sharing worked as expected in previous versions. Shared folder appears in container but “ls” returns nothing.
Steps to reproduce the behavior
- update to Docker for Windows 1.11.1
- In ‘Settings’, click ‘Shared Drives’, check box next to “C:”, click ‘Apply’
- In Powershell, execute the sample command shown. (that is “docker run -v c:/Users:/data alpine ls /data”)