Using S3FS in a docker container ran by the mesos containerizer

825 views Asked by At

I have a docker image where i use S3FS to mount an S3 bucket to use as a regular filesystem. Now, this works without any issues when i run the docker container using the docker engine and setting privileged mode, but seems to fail when trying to run this container using the mesos containerizer.

I'm trying to run this container via the Aurora scheduler and the error i'm getting is the following:

fuse: device not found, try 'modprobe fuse' first

I've tried mounting nfs shares from a container running under mesos before, so this seems a bit strange to me, does anyone have any information on this issue ?

1

There are 1 answers

4
marbu On

You need to enable fuse support on the kernel side (installing and loading fuse kernel module, so that /dev/fuse device will be available). The fact that you were able to use nfs doesn't matter, as nfs support is implemented directly in kernel and not via fuse in userspace.