udocker icon indicating copy to clipboard operation
udocker copied to clipboard

Is it possible to mount a container using tmpfs?

Open WinstonN opened this issue 5 years ago • 1 comments

I was wondering if we could take advantage of the 3GB max memory of lambda, by using https://docs.docker.com/storage/tmpfs/

Do you think it could be possible?

WinstonN avatar May 10 '20 09:05 WinstonN

The default execution mode of udocker Pn and also Fn cannot mount filesystems. They only perform pathname translation and thus can only access files and directories that are already available in the host. Inside lambda you also cannot mount filesystems. The only thing that you can do is perhaps use the /dev/shm of the host, if available should be visible inside udocker.

jorge-lip avatar Mar 12 '24 11:03 jorge-lip