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 21, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
2,234 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 21, 2018 by Sophie may
• 10,620 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,700 points
820 views
0 votes
2 answers

How does Docker for Windows run Linux containers?

One of the most important enhancements is ...READ MORE

answered Aug 29, 2020 in DevOps & Agile by Pistle
• 1,000 points
1,093 views
0 votes
1 answer

Docker for Windows error: “kubectl context missing”

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

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

Docker for windows error: while exposing Ports

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

answered Aug 29, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
2,961 views
+2 votes
1 answer
+2 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
• 58,020 points
2,715 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP