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,280 points
58 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,330 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,280 points
49 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,280 points
46 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,280 points
23 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,280 points
534 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,140 points
81 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.