dlite icon indicating copy to clipboard operation
dlite copied to clipboard

Allow configuring what directories to share

Open aleemb opened this issue 8 years ago • 6 comments

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?

aleemb avatar Jun 27 '16 21:06 aleemb

what version of dlite is this with?

nlf avatar Jul 26 '16 18:07 nlf

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 https://github.com/nlf/dlite/issues/36#issuecomment-175893333

aleemb avatar Jul 28 '16 00:07 aleemb

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

aleemb avatar Jul 28 '16 00:07 aleemb

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)

nlf avatar Oct 29 '16 18:10 nlf

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.

darklow avatar Nov 27 '16 18:11 darklow

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

nlf avatar Nov 27 '16 20:11 nlf