Closed fennectech closed 5 months ago
That's not what the z
and Z
flags do, they're for applying selinux labels that allow docker volumes to be accessed by multiple containers, or to restrict them to a single container, it doesn't touch the posix file permissions.
it did also set permissions for me.
Adding :Z to the -v parameter will cause docker to automaticly relabel the specified files to the proper permissions eliminating permission denied errors https://stackoverflow.com/questions/35218194/what-is-z-flag-in-docker-containers-volumes-from-option
Description:
Benefits of this PR and context:
this PR (should) simply add :Z to the readme.md in the setup guide causing docker to automaticly update file and folder permissions so that permission denied errors should no longer happen
How Has This Been Tested?
ive implimented the changes on my system
Source / References: