Skip to content
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

How to mount docker volume so it works for different users? #125

Closed
dcosson opened this issue Jan 19, 2016 · 2 comments
Closed

How to mount docker volume so it works for different users? #125

dcosson opened this issue Jan 19, 2016 · 2 comments

Comments

@dcosson
Copy link

dcosson commented Jan 19, 2016

It looks like dinghy just mounts /Users from OSX to /Users in the VM.

In my project's docker-compose file, I'm mounting the code directory as a volume into docker.

What's the best practice for doing this so it works for all the developers on the team? Obviously different people have different home directory names, plus people might nest the repository at a different place in their home directory.

@codekitchen
Copy link
Owner

This isn't Dinghy specific. docker-machine does the same thing, just not over NFS. The easiest solution is to specify the mounted volumes using relative paths on the host, which docker-compose supports.

@dcosson
Copy link
Author

dcosson commented Jan 19, 2016

Ok, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants