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.
I am having the same issue with my docker container. I have a Microsoft SQL Server 2017 container running on Windows 10 and I have the /var/opt/mssql folder shared to my C:\SQLData2017 folder to persist the databases. It seems that every time I reboot my laptop it loses the credentials and I have to reset and re-enter them to get the container to start back up.