FreeBSD jails: Difference between revisions
From wikinotes
No edit summary |
|||
Line 55: | Line 55: | ||
<blockquote> | <blockquote> | ||
{| | {| | ||
|- | |||
| [[rctl]] || set jail resource restrictions | |||
|- | |- | ||
| [[cbsd]] || abstraction layer over jails/bhyve/xen | | [[cbsd]] || abstraction layer over jails/bhyve/xen |
Latest revision as of 03:21, 31 August 2022
Jails are a hardened version of chroots. They allow multiple separate FreeBSD installations to run on one machine, while sharing a kernel, ram, resources.
Documentation
Tutorials
excellent/comprehensive tutorial http://clinta.github.io/freebsd-jails-the-hard-way/ FreeBSD Manual https://www.freebsd.org/doc/handbook/jails.html
Locations
/etc/rc.conf
enable jails, global jail configuration /etc/jail.conf
configure individual jails /etc/jails/*.fstab
individual jail fstabs
Notes
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