-
Notifications
You must be signed in to change notification settings - Fork 174
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
[question] Is SYS_ADMIN
/ --privileged
capabilities needed to run mountpoint-s3 within docker / k8s?
#1204
Comments
Hey @vadimkantorov, Doing mount on your host and using bind mount in Docker might work and might allow you to omit those settings from your Docker container, but I haven't tested that either. That's being said, have you checked Mountpoint CSI Driver? The CSI Driver would handle mounting and some other parts for you if you want to use Mountpoint in Kubernetes. |
Thank you for your explanations! I also found the huge 10-years old discussion in kubernetes/kubernetes#7890 also suggesting to use CSI for S3/FUSE but this is hard to grok for a newbie (like myself), as this discussion is decade-long and multiple solutions were discussed Because wanting to use FUSE to access S3 is so typical, I think it would be awesome to have a README section about this specifically: usage in Kubernetes / Docker (found this: docker/for-linux#321) / general root-less (found this using user namespaces: https://zameermanji.com/blog/2022/8/5/using-fuse-without-root-on-linux/) environments and list existing solutions / limitations |
The CSI Driver is linked in Getting started section of README, and there is this README for running Mountpoint inside Docker, but that doesn't seem to be linked from README maybe we can make it more easy to find. |
Thank you! Yes, a brief explanation of the current state of affairs for root-less / I think your docker README still relies on passing |
Typically these are needed to run
sudo mount
, but are these needed for running mounting with mountpoint-s3?It would seem that not?
I also wonder if
--mount
docker's cmdline argument could be used for creating mountpoint-s3 mounts at container launch time?Thanks!
The text was updated successfully, but these errors were encountered: