I am using Docker Desktop for Windows 10 Pro.
Using Git Bash (run as Administrator) I am trying to run a docker container of a ruby image and mount my current working directory in a '/app' directory inside the container with docker volumes.
docker run -it -v "/$(pwd)":/app ruby:2.4 sh
and inside the container the app directory is created like so:
drwxrwxrwx 1 root root 4096 Jul 6 19:25 app
However, when I try to read this directory inside the container I get the message:
ls: reading directory 'app': Operation not permitted
I tried getting a bash shell instead of sh and execute ls as root but same thing happened.