Building an AWS Lambda-Like Runtime with Firecracker MicroVMs
medium.com
medium.com
Oh and it must be an actual mount because speed. Or to put it differently: if you don't use kernel mounts your AI engineers need to design their training loop 10x better. It can work but they'll need to predict long in advance what data they need, get it with separate threads and have a proper internal filesystem. Which is mostly not happening, and also I don't like giving that as an answer.
And you can't mount in docker! Not even FUSE.
So we fake distributions mount command to send a GRPC message "out", where the real (I know, containerization, there's only 1 kernel) kernel will mount it so it becomes visible in the container at the point requested. It's not a great solution.
I should have switched to running docker containers in Firecracker looooong ago. Loooooong ago.
Much harder than what?