Skip to content
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

support running via virtiofs #2

Open
cgwalters opened this issue Apr 22, 2024 · 0 comments
Open

support running via virtiofs #2

cgwalters opened this issue Apr 22, 2024 · 0 comments

Comments

@cgwalters
Copy link
Contributor

https://gitlab.com/bootc-org/podman-bootc-cli/-/issues/31

It'd be nice to have podman-bootc run --virtiofs <container> that would set things up to boot via virtiofs root. I think to really make this work sanely, we'd need to move the container storage out of the podman-machine VM and on to the host. That would have all sorts of implications.

Failing that, maybe we could do run --nfs to set up a NFS-backed rootfs talking to a NFS server serving the container storage on the target.
I think composefs will help here in both cases, as we can have all the selinux labels and metadata set up in the composefs, and have the virtiofs/nfs be a lower FS just fetching the backing files.

Either way steps would also include

  • Extracting kernel/initramfs from the container
  • Setting up qemu to launch things that way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant