Data permissions Docker for Windows: Denied

0 votes
I'm using Docker for Windows and I’ve shared volumes of data setting up on docker-compose.yml

Data is present but when I try to connect on my web browser, I get the following error:

"Your data folder can be read by other users. Please change the directory permissions in 0770 mode so that the content is not listed by other users."

How to change the windows folder permissions to 0770 ?
Aug 20, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
99 views

1 answer to this question.

0 votes

The web-server running in Docker is checking the folder permissions, which has nothing to do with windows. In order to fix this you need to verify the folder permissions inside Docker itself

Below is an example , you just need to let docker execute the Linux command in a container

$ docker container exec -t local-container ls -ld /var/www/html/config
$ docker container exec -t local-container chmod 0770 /var/www/html/config
answered Aug 20, 2018 by Sophie may
• 9,530 points

Related Questions In DevOps & Agile

0 votes
1 answer

How can a script identify the difference between Docker Toolbox and Docker for Windows?

Now, the Toolbox works through docker-machine. The way ...READ MORE

answered Aug 24, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
62 views
0 votes
1 answer

How does Docker for Windows run Linux containers?

Docker for Windows still uses a Linux ...READ MORE

answered Aug 24, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
56 views
0 votes
1 answer

Docker for Windows error: “kubectl context missing”

There is an issue with docker for ...READ MORE

answered Aug 27, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
30 views
0 votes
1 answer

Docker for windows error: while exposing Ports

I faced a similar issue, just follow ...READ MORE

answered Aug 28, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
781 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,520 points
149 views
0 votes
1 answer