I am in the process of learning how to use FreeBSD jails for my homelab. Getting FreeBSD to run is extremely straightforward after a little reading. Though I still have a ton of question for another day.
One that still is tripping me up is how Linux compatibility works with jails. I don't understand how the contents of /compat/linux is made into a several jails.
So lets say I have 2 machines ns01 and fs01 for example. How do they share /compat/linux? In this case would I still install my Linux userland into the ZFS dataset I have created for each jail (e.g. /usr/local/jails/[jail-name]?
I found this article on the FreeBSD wiki but I feel like its not telling me everything I need to know.
https://wiki.freebsd.org/LinuxJails
Can someone help me understand what is going on?
One that still is tripping me up is how Linux compatibility works with jails. I don't understand how the contents of /compat/linux is made into a several jails.
So lets say I have 2 machines ns01 and fs01 for example. How do they share /compat/linux? In this case would I still install my Linux userland into the ZFS dataset I have created for each jail (e.g. /usr/local/jails/[jail-name]?
I found this article on the FreeBSD wiki but I feel like its not telling me everything I need to know.
https://wiki.freebsd.org/LinuxJails
Can someone help me understand what is going on?