@kurt This would be a really awesome feature. I did a round of comparisons among the different PAAS platforms and none of them allow to mount an S3 bucket:
To use /dev/fuse it seems that running the container with: --cap-add SYS_ADMIN --device /dev/fuse is sufficient but using SYS_ADMIN might not be ideal? Not the export on this.
You shouldn’t run into capability problems here, since we’re not actually running containers at all — we convert them into full-fledge VMs with their own kernel, so root here actually means root.
We do run a deliberately stripped down kernel, though, so we’ll probably have to add fuse deliberately.
Yes, we’re using FUSE with LiteFS. I’m not aware of any kernel changes we made to enable it though. It should “just work”. I’ve been able to run FUSE v2 & v3 without a problem.
Yes; apk add python3, fuse, fuse3 works with juicefs. Now I can do asset updates or deployments from any machine and have them available on my flyio container instantly.