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

Allow configuring what directories to share #191

Open
aleemb opened this issue Jun 27, 2016 · 6 comments
Open

Allow configuring what directories to share #191

aleemb opened this issue Jun 27, 2016 · 6 comments

Comments

@aleemb
Copy link

aleemb commented Jun 27, 2016

I can mount volumes from root, etc but if my mount is /Volumes/foo/bar:/foo/bar it turns up blank inside the container. I tried symlinking the /Volume/foo/bar partition folder to the current partition but that didn't work either.

Is there some other way?

@nlf
Copy link
Owner

nlf commented Jul 26, 2016

what version of dlite is this with?

@aleemb
Copy link
Author

aleemb commented Jul 28, 2016

It's version 1.1.5. However, at the time I filed this I recall reading that mounting files outside of the home directory was problematic or something, maybe this #36 (comment)

@aleemb
Copy link
Author

aleemb commented Jul 28, 2016

So it's not just /Volumes but anything outside of home directory.

@nlf nlf added this to the 2.0.0 milestone Oct 26, 2016
@nlf nlf changed the title Unable to mount /Volume/foo/bar Allow configuring what directories to share Oct 29, 2016
@nlf
Copy link
Owner

nlf commented Oct 29, 2016

re-titled this to reflect the action i'll be taking.

i'll be blacklisting several system related directories (i.e. /etc, /usr, /bin, /var, anything that would collide with the virtual machine's own filesystem)

@darklow
Copy link

darklow commented Nov 27, 2016

In dlite v1.5 I was specifying shared directory for mounts.
dlite 1.5 stopped working (docker ps just wasn't responding), so I decided to upgrade to v2 beta 8.
Now running docker works, but I can't mount my volume which is on external hdd under:/Volumes/...
Is it possible to specify shared directory like it was in v1.5 or it is still in development?
Any workarounds to get shared volumes from /Volumes/... to get working?
Thank you.

@nlf
Copy link
Owner

nlf commented Nov 27, 2016

I haven't added this to 2 yet. I do plan to though

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

No branches or pull requests

3 participants