LCOW feature request: Custom file permissions on volume mounts for LCOW #37158
Labels
area/lcow
Issues and PR's related to the experimental LCOW feature
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
kind/experimental
platform/desktop
The largest limitation that I am facing using (non-LCOW) Docker for windows is that all files mounted to the moby vm via a volume are assigned UID 0 : GID 0 755 unix file permissions, which cannot be changed.
Since many linux docker projects involve processes that need file permissions to be changed, these projects cannot be run on a windows host without severe modifications - examples are the standard apache server, nextcloud or gitlab which change file permissions to special users created in the container and fail if they are not able to do so.
In (docker/for-win#2042), it was mentioned that while standard Docker for Windows uses CIFS mounts that are quite inflexible, the LCOW way of mounting host files into containers using 9p might have the potential to allow for much more flexible mapping. Is this correct, and is there any support for creating volume mounts with custom uid/gid/permission sets on the roadmap for LCOW development?
Thank you for any insight into this issue!
The text was updated successfully, but these errors were encountered: