News for hackers. Stuff that matters.
Re:Run Bhyve in FreeBSD jails – The view from inside the for... by tejado on Thursday April 08, 2021 @04:30PM (#26743371)
I wonder how many nested VM inside jail inside a VM inside a jail... are possible from a resource perspective, so that I can still execute a shell
Re:Run Bhyve in FreeBSD jails – The view from inside the for... by tonoto on Thursday April 08, 2021 @04:51PM (#26743611)
For a second you lit up my hope that there would be nested bhyve virtualization, but no. This is a different layer of virtualization/containerization. In order to have nested vm the correct cpu flags (vt-x) have to be exposed in the guest and I believe that such feature is unfortunately not implemented yet.
Re:Run Bhyve in FreeBSD jails – The view from inside the for... by kazen44 on Thursday April 08, 2021 @06:12PM (#26744475)
you can nest jails quite a lot. Although i have not tried it (and cannot find proper sources on the max limit of the amount of jails you can inside a freebsd system).

might be fun to give it a try though.

Re:Run Bhyve in FreeBSD jails – The view from inside the for... by chungy on Thursday April 08, 2021 @08:24PM (#26745422)
If FreeBSD has a maximum limit on PIDs that includes those running in jails, you'd probably run into that well before you run out of memory (especially if the goal is to run "as many jails as possible", you can make a whole bunch that effectively do nothing at all).