nlf / dlite

The simplest way to use Docker on OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow configuring what directories to share

aleemb opened this issue · 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?

commented

what version of dlite is this with?

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)

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

commented

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)

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.

commented

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