Data permissions Docker for Windows
In the Windows client, you can configure the docker to allow read/write on specific drives. In your case, it is the F:
drive. This should fix your permissions problem.
Related videos on Youtube
Jobel
A French student who just wants to improve her English (major efforts in perspective), help the community, learn and discover the technologies ...
Updated on June 04, 2022Comments
-
Jobel almost 2 years
I'm using Docker for Windows, with owncloud container, and I shared volumes, setting up on docker-compose.yml, in order to persist the data. Extract from my docker-compose.yml
` owncloud:
image: jobel/owncloud:1.1 links: - db:db ports: - 8002:80 volumes: - f:/Program Files/Docker/Docker VM/owncloudconfig:/var/www/html - f:/Program Files/Docker/Docker VM/owncloudconfig/apps:/var/www/html/apps - f:/Program Files/Docker/Docker VM/owncloudconfig/config:/var/www/html/config - f:/Program Files/Docker/Docker VM/owncloudconfig/data:/var/www/html/data
`
Data are present but when I try to connect on my web browser, it says : "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." (translate fr->eng)
But how can I change the windows folder permissions to 0770 ? ;(
Or what are the others solutions?
Thank you in advance for your answer.
-
jww over 6 yearsStack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See What topics can I ask about here in the Help Center. Perhaps Super User or Unix & Linux Stack Exchange would be a better place to ask.
-
Jobel over 6 yearsOk thanks, I will do that.
-