I’m running into the same issue. I have two drives shared (F: & G:) where my projects are stored.
I’m creating my container something along this :
docker run -d -p 80:80 -p 3306:3306 -v G:\\__SOURCES\projectname\:/var/www --name project custom:container
Everything works fine for a while, then at some point, the volume will lose its rights and I will get (for exemple) :
root@c7c4a0903d5c:/var/www# ls ls: reading directory .: Permission denied
If I go to Settings, Shared Drives and click “Apply” or “Reset credentials”, everything will works fine again, until some random event makes the rights lost.
The container I’m launching is a basic ubuntu with a bunch of web dev stuff installed (apache, mysql,you get the idea).
I’m using Docker for Windows, version 1.12.5 and 1.13.0-rc5 build 43cc971, under Windows 10 pro, no domain joined, logging with a microsoft account.
If anyone had the slightest idea what could cause that (or how I can find out), and even better how to fix it, I’m all ears.