Jails vs Podman vs VM

At our company, we’ve been building and deploying our products inside 13.4 jails. However, since new customer installations are now running on FreeBSD 15, we no longer have access to 13.4 jails. As a result, the 13.4 builds we create on our own servers do not run on our customers’ newer systems.

Given this situation, we’re evaluating alternatives such as containers (Podman) or virtual machines.

That said, I still prefer jails because their overhead is minimal. For example, a VM typically requires a large zvol, compared to a simple ZFS dataset for a jail.

Has anyone run into a similar situation? How did you solve it?

Leonardo
 
I take it you're referring to thin jails there as thick jails, from what I can work out, aren't that much different in terms of size and resources from podman or docker containers. I'm still working out how to do it, but from what I've read you can even export those to OCI compliant containers these days. I wouldn't personally bother with VMs unless you need the extra level of isolation and/or ability to easily move the VM to a different computer.
 
Back
Top