docker-osx-dev
docker-osx-dev copied to clipboard
Did you try sshfs ?
Hi there i played a lot like you with all kind of ways to connect the volumes somehow. I miss my best bet on your list, sshfs... i had the best results connecting the box to the mac, even mongodb and meteor was able to run.
Hope that helps someone somehow ...
Can you post more info on your setup?
Interesting topic. Maybe there's an option to replace current rsync with osxfuse-based solution? I'd also expect sshfs to be the fastest.
Does anyone have time to play around with FUSE, sshfs, etc? I'd love to see how they compare with rsync in terms of performance and ease of setup.
FWIW, I played around with a number of syncing solutions years ago in a slightly different context and found all of the two-way solutions--including unison, sshfs, fuse, aerofs, and a bunch of others--to be either too slow or too unreliable (e.g., random files wouldn't sync, errors would show up intermittently, etc). That said, I was syncing between remote systems, so perhaps on the same computer when talking to a Docker VM, it would be a completely different story.
Unfortunately I can only second that notion. At the time I ran MacFUSE, also in different (remote) context, it was completely unreliable. Current bug base of osxfuse isn't very assuring either.
Hi there, i can't remember the exact setup but sshfs was used on the docker image not on the mac.
Here is what i remember so far:
- start an ubuntu container
docker run --name u2 -i -t --cap-add SYS_ADMIN --device /dev/fuse ubuntu /bin/bash
- install sshfs on the container
apt-cache update
apt-get install sshfs
- create a Users directory on the container to emulate behavior of boot2docker
mkdir /Users/
sshfs username@machost:/Users/macUserName /Users -o idmap=user -o uid=$(id -u) -o gid=$(id -g)
Good Luck