-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support /dev/fuse #21
Comments
Hi @cedvan , How can I add that module and test it? |
I don't know, but I can try |
If all you need is fuse in user land, you can install with https://github.com/ailispaw/docker-root-pkg.
It will install If you need any kernel configuration for it, please let me know. |
May need |
Thank you ! I had install fuse with Result :
Need |
|
diff --git a/configs/buildroot.config b/configs/buildroot.config
index 2a62e5c..571277b 100644
--- a/configs/buildroot.config
+++ b/configs/buildroot.config
@@ -1065,7 +1065,7 @@ BR2_PACKAGE_OPENSSL=y
# BR2_PACKAGE_GAMIN is not set
# BR2_PACKAGE_LIBCONFIG is not set
# BR2_PACKAGE_LIBCONFUSE is not set
-# BR2_PACKAGE_LIBFUSE is not set
+BR2_PACKAGE_LIBFUSE=y
# BR2_PACKAGE_LIBLOCKFILE is not set
# BR2_PACKAGE_LIBNFS is not set
# BR2_PACKAGE_LIBSYSFS is not set
diff --git a/configs/kernel.config b/configs/kernel.config
index 2fad792..602e5dc 100644
--- a/configs/kernel.config
+++ b/configs/kernel.config
@@ -2025,7 +2025,8 @@ CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
-# CONFIG_FUSE_FS is not set
+CONFIG_FUSE_FS=y
+# CONFIG_CUSE is not set
CONFIG_OVERLAY_FS=y
# |
Ok thank you very much ! I will create a PR as soon as possible ;) |
If that modification doesn't make kernel bigger significantly, I will add |
BTW, what fuse will benefit and what is your use case? |
I need fuse to support glusterfs :) |
Is glusterfs in a container or VM? |
Oh it seems silly question.. forget it. :) |
Please provide how to use it with the PR. |
Are you trying to use GlusterFS from a container or in DockerRoot VM? |
I create 2 DockerRoot VM hosting container GlusterFS Server. And I create 2 DockerRoot VM hosting container GlusterFS Convoy Docker (Client). Convoy need fuse in kernel to share data with server |
I see. Thanks. So it seems you need just |
Ok, I have to create a PR, or you do it ? |
I can do it, but can not test it with GlusterFS. Please make and test it in your side. |
Ok, tell me when I can test, and I'll make a return ;) |
Do you need docker-root.iso or docker-root.box? |
I use Vagrant, so need docker-root.box please. |
OK. |
Please download Vagrant.configure(2) do |config|
config.vm.box = "docker-root-fuse"
config.vm.box_url = "docker-root.box"
end $ vagrant up
$ vagrant ssh -c "ls -l /dev/fuse"
crw------- 1 root root 10, 229 Feb 29 15:59 /dev/fuse |
Now it's 1 am in Japan. Going to bed. @cedvan See you tomorrow. |
Thank you ! I am in France, I test tonight ;) Good night man ! |
Hi, I've test. I've other problems to start glusterfs, but /dev/fuse problem is fixed :) Thank you very much ! |
FYI: MariaDB container seems to need 9p2000.L, because it uses fstatvfs(). |
Yes, that's why I think I need glusterfs :). |
Possible install glusterfs directly on the VM docker-root ? |
You can use https://github.com/ailispaw/docker-root-pkg/tree/master/extra/package as an extra package like criu and ipvsadm. |
I am afraid of not being competent enough to succeed, but I will try |
FYI: I have activated SSHFS/FUSE in DockerRoot v1.3.1 as well, although I haven't tested it yet. $ sudo pkg install sshfs |
Ok, cool. Thank you ! |
You have informations to the previous error : |
Hmm. DockerRoot doesn't allow |
Ok, so not possible ? For information, what is a |
Hum ok ! :) So not possible add chroot in docker-root ? |
I'm not sure that it is caused by DockerRoot or something else (libcontainer). |
Oh great ! Thank you very much !! |
@cedvan Updated the gist with the custom docker-root.box. |
Ok great ! I'll try ;) |
Your box solved problem with But docker version 1.9.1 create bug with new rancher network... lol. Need merge your work on master and up to docker 1.10 ^^. I try build localy docker-root, but I've Linux, so difficult :) |
Thanks for your feedback. I will consider to support |
Great ! |
Please open an issue at https://github.com/ailispaw/docker-root-pkg. |
I'm still wondering Docker v1.10.3 is good. Instead I have added an ability to switch between Docker versions easily.
|
Why ?
Good idea ! |
I will try to use the latest Docker. Please see https://github.com/ailispaw/docker-root#features for its usage. |
Telling the truth, I don't like the FAT docker binary and I feel it's unstable recently, although I do like its basic functionalities. |
Ok, you do a great job, thank you ! |
@cedvan Thank YOU. I have enjoyed this conversation with you. Without it, I could not have such ideas. Please let me know any problem and progress on your test. |
Closing for /dev/fuse. |
Hi,
Please possible add support fuse module ?
Thank you
The text was updated successfully, but these errors were encountered: