I'd like to create an in-memory filesystem within a docker container running on a cluster where I can't assign the container any special permissions (e.g. the container can't have CAP_SYS_ADMIN
capability necessary for using mount
).
Is it possible to create an in-memory filesystem under docker? Will one of the user space filesystems provide this functionality?
Reference article(s):
- User Space File Systems
- How do I mount --bind inside a Docker container?
- FUSE inside Docker
- An in-memory filesystem (ie, RAMDISK) using FUSE
- Riofs - fuse device not found
UPDATE: After finding and reading the references added above it's looking more and more like the answer is a firm no. I'll leave this open a bit in case anyone wants to elaborate or correct me.