News for hackers. Stuff that matters.
Re:Unikraft is a fast, secure and open-source Unikernel Deve... by Youden on Monday February 07, 2022 @05:37PM (#30252382)
How does one store data with Unikraft? This is the problem I hit with other unikernel projects. OSv seemed to support ZFS or NFS somehow but I couldn't quite figure out the documentation. I can't find any references to storage at all for Unikraft.
Re:Unikraft is a fast, secure and open-source Unikernel Deve... by halation_effect on Monday February 07, 2022 @06:05PM (#30252750)
You can use 9pfs or build upon the block device.
Re:Unikraft is a fast, secure and open-source Unikernel Deve... by nderjung on Monday February 07, 2022 @06:12PM (#30252819)
Yes you're right, it's a simple network-like protocol allowing you to mount a path on the host OS to the Unikraft unikernel VM similar to a container volume. In addition, Unikraft's abstract APIs[0] allow for more block devices such as EXT{2..4}, etc. which you mount in a similar way. Alternatively, you can put your filesystem into a CPIO format and mount it as initram and load it into RAM (great for performance and read-only file systems, like webservers).

[0]: https://unikraft.org/docs/concepts/architecture/

Re:Unikraft is a fast, secure and open-source Unikernel Deve... by Youden on Tuesday February 08, 2022 @06:03PM (#30266121)
Ah, I see. It looks like this is actually relatively simple but hidden away in code you'd never see until you start using Unikraft.

This is something that strikes me as an obvious question about a unikernel so I'd like to see a bigger callout in the docs.

Re:Unikraft is a fast, secure and open-source Unikernel Deve... by felipehuici on Tuesday February 08, 2022 @01:44PM (#30262598)
We also have support for EXT2/EXT4 but it's not open source yet.