Docker Community Forums

Share and learn in the Docker community.

Shared volume problem with 1.11.1


(Pricejh) #1

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

  1. update to Docker for Windows 1.11.1
  2. In ‘Settings’, click ‘Shared Drives’, check box next to “C:”, click ‘Apply’
  3. In Powershell, execute the sample command shown. (that is “docker run -v c:/Users:/data alpine ls /data”)