-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dinghy nfs volume permissions are super convenient - similar behavior on Linux host without nfs? #191
Comments
Heh yes, we have a half dozen or so devs using Linux laptops. I wish I had a good answer, it's still a thorny problem for us. So far we've had to tweak each project to work on Linux as it's come up, by doing things such as hard-coding the UID inside the image, and then chown'ing the dev's local repo to match. See for example https://github.com/instructure/canvas-lms/blob/stable/doc/development_with_docker.md#troubleshooting I'd love to hear from anybody else who has dealt with this, as well. |
Have you seen this? Using |
@dmitrym0 that flag is not compatible with volumes, so quite useless. |
@paolomainardi I'm not sure I understand. The flag allows to map container UID to a host UID. Docker then writes files out to the host with the specified UID. |
Thanks for dinghy! It's awesome for development on Mac :)
Going out on a limb here - I switched from a Mac host to Debian, and am missing the behavior of my dinghy setup where when my docker container process running as root creates a new file in a volume shared from the host, that file shows up on the host with the permissions of the host user. (On Linux, it gets root permissions)
Maybe some Dinghy users are on a team with Linux people? How do your Linux colleagues solve this problem?
The text was updated successfully, but these errors were encountered: