ailispaw / docker-root

Deprecated: Lightweight Linux for Docker made with Buildroot, moved to https://github.com/bargees/barge
GNU General Public License v2.0
53 stars 7 forks source link

Add support /dev/fuse #21

Closed cedvan closed 8 years ago

cedvan commented 8 years ago

Hi,

Please possible add support fuse module ?

Thank you

ailispaw commented 8 years ago

FYI: I have activated SSHFS/FUSE in DockerRoot v1.3.1 as well, although I haven't tested it yet.

$ sudo pkg install sshfs
cedvan commented 8 years ago

Ok, cool. Thank you !

cedvan commented 8 years ago

You have informations to the previous error : pivot_root ?

ailispaw commented 8 years ago

Hmm. DockerRoot doesn't allow pivot_root by default. It needs to re-build the box with a patched boot config.

cedvan commented 8 years ago

Ok, so not possible ?

For information, what is a pivot_root ?

ailispaw commented 8 years ago

like chroot. http://man7.org/linux/man-pages/man2/pivot_root.2.html

cedvan commented 8 years ago

Hum ok ! :)

So not possible add chroot in docker-root ?

ailispaw commented 8 years ago

Ok, so not possible ?

I'm not sure that it is caused by DockerRoot or something else (libcontainer). But I will create a custom box for you.

cedvan commented 8 years ago

Oh great !

Thank you very much !!

ailispaw commented 8 years ago

@cedvan Updated the gist with the custom docker-root.box. https://github.com/ailispaw/docker-root/issues/21#issuecomment-190267732

cedvan commented 8 years ago

Ok great ! I'll try ;)

cedvan commented 8 years ago

Your box solved problem with pivot_root, it's very good !

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 :)

ailispaw commented 8 years ago

Thanks for your feedback. I will consider to support pivot_root and Docker v1.10 in the next. :)

cedvan commented 8 years ago

Great !

ailispaw commented 8 years ago

Possible install glusterfs directly on the VM docker-root ?

Please open an issue at https://github.com/ailispaw/docker-root-pkg. Thanks.

ailispaw commented 8 years ago

I'm still wondering Docker v1.10.3 is good.

Instead I have added an ability to switch between Docker versions easily. https://github.com/ailispaw/docker-root/commit/39acf9513be760e55cf68e0b6dde34e48c76a240

$ sudo /etc/init.d/docker restart v1.10.3
cedvan commented 8 years ago

I'm still wondering Docker v1.10.3 is good.

Why ?

Instead I have added an ability to switch between Docker versions easily.

Good idea !

ailispaw commented 8 years ago

I will try to use the latest Docker.

Please see https://github.com/ailispaw/docker-root#features for its usage.

ailispaw commented 8 years ago

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.

cedvan commented 8 years ago

Ok, you do a great job, thank you !

ailispaw commented 8 years ago

@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.

cedvan commented 8 years ago

@ailispaw, To continue my test I need IPSec support :wink: .

cf #27

ailispaw commented 8 years ago

Closing for /dev/fuse. Please open a new issue for the further problem.