FreeBSD jails

From wikinotes

Jails are a hardened version of chroots. They allow multiple separate FreeBSD installations to run on one machine, while sharing a kernel, ram, resources.


man jail
man jail.conf


excellent/comprehensive tutorial
FreeBSD Manual


/etc/rc.conf enable jails, global jail configuration
/etc/jail.conf configure individual jails
/etc/jails/*.fstab individual jail fstabs


jail usage
jail setup
jail maintenance
jail troubleshooting

Jail Management Tools

rctl set jail resource restrictions
cbsd abstraction layer over jails/bhyve/xen
iocage more powerful tool to facilitate managing jails
ezjail shellscript to facilitate managing jails