Repository navigation
WIP 'docker share' using rsync or sshfs - only does 'pwd' - #247
SvenDowideit wants to merge 3 commits into
Conversation
|
This quick hack does a |
|
this could close #66 |
|
👍 I will play with this some when I get a chance. |
07ad8aa to
cfd6d3f
Compare
There was a problem hiding this comment.
This could be really fun if you did it from /usr >:)
Maybe we could have this check to make sure the directory you're trying to mount on top of either doesn't exist or is empty inside the VM before we mount? (potentially with a "force" flag)
Also, wouldn't it be useful to be able to specify both a "share source" and a "share target" here, optionally? (defaulting the first to pwd as it is below, and the second to the value of the first, of course, as it is now)
There was a problem hiding this comment.
if we were actually going to release this, we'd have to fix the many layers of races by mounting the dir's into hashed dirs. You need to avoid clashes with other users', clashes with shares from other computers, and all sorts of stuff.
|
Very helpful. I've tried this out and it works perfectly after changing the hard coded paths in |
cfd6d3f to
656fe25
Compare
|
I'm currently trying this too. I'm getting an error on the sshfs command, being "reset by peer". UPDATE: Don't forget to put the remote sharing in the OSX options |
|
The sshfs is working very well after some tricks. If in some days there's nothing I'll try to PR this. |
|
@SvenDowideit Is this a will to map the given directory to the same directory inside the boot2docker vm ? |
|
I havn't had a chance to look into this lately |
base: add kernel dhcp config but disable boot param
Thought I'd just try it :)
The
--share=smbshare driver flag does not work - we need to merge #245 and some docker/pkg/mflags changes (or #243 and and some more fixes)