Docker Community Forums

Share and learn in the Docker community.

Case insensitive volume mounts no longer working in docker desktop 2.2.0.3

In docker desktop for windows v 2.1.0.5 you can:

  • docker run --rm --volume c:\:/mnt/c ubuntu:18.04 ls -al /mnt/c/Windows
  • docker run --rm --volume c:\:/mnt/c ubuntu:18.04 ls -al /mnt/c/WINDOWS

Both work, even though the c:\Windows directory exists only once, and with a different case

On the same machine, with docker desktop for windows v 2.2.0.3, this fails. The mount appears to be case SENSITIVE in 2.2.0.3, and NOT in 2.1.0.5.

Is this a bug, or expected behavior? Is there a way to go back to the previous case-insensitive behavior in this case?