Repository navigation
Conversation
* Update kernel and LXC to fix lxc-attach (http://d.hatena.ne.jp/defiant/20131108/1383911099) * Add 9pfs support to kernel * Allow rootfs to test for a local docker-bin
|
|
I am still using NAT/port forwarding with this setup. I can work up a brew recipe, once I'm a have a bit more confidence in DIOD's stability. I just fixed up the bits to compile it on OSX yesterday. |
|
👍 |
|
Very excited about this. How will the folder sharing process will look like afterwards? |
|
does 9PFS support inotify? NFS and many others do not support inotify on mounted volumes. |
|
I don't think v9fs or p9fs in general supports inotify. As for a folder sharing process, you'll need to use a script similar to rectifier to start DIOD on the host, and then SSH into your boot2docker instance to call the lxc-attach -- mount stuff. |
|
So I've been doing a bit more digging in this, and ran into docker bugs which required me to update my docker binary again, maybe by the end of the week I'll have an update to this PR with a practical folder sharing example. |
Conflicts: rootfs/Dockerfile rootfs/make_iso.sh
|
@kainz ? |
|
@SvenDowideit Been backburnered on this for a bit due to other responsibilites. I should be able to revisit this by next week maybe? A lot has also changed in docker since I last touched this, so I'll need some time to catch up on the environment as well. |
|
k :) |
|
jpetazzo wrote up a guide for using 9pfs here: https://gist.github.com/jpetazzo/5668338 This isn't quite right for OS X/boot2docker, though (he seems to be using lxc-attach, for example). The working flow looks like, on the host, to do: and in the guest This works if I use an Ubuntu VM on my Mac, with the following caveats:
I'd be happy to test a boot2docker iso that has 9pfs support built in. |
|
I built a boot2docker ISO to test this with, but I'm seeing lots of errors doing simple operations such as |
|
@kainz I'm going to close this, we've not moved on it, sorry. If you, or someone else wants to add doid & 9PFS, please make a much more minimal PR :) |
Upgrade to linux 3.13 kernel, and also add 9PFS support to allow folder sharing with DIOD (github.com/kainz/diod, my port from chaos's DIOD 9PFS server)
Also, enable make_iso.sh to use a custom docker-bin if you want to build a boot2docker using docker HEAD or whatnot.