jails FreeBSD-set-base-jail FreeBSD-jail FreeBSD-set-minimal-jail FreeBSD-set-optional-jail

Have a look at tools like ezjail or bastille. Maybe they use it.
Also there are three jail types : thick , thin and in a separate package optional-jail.
Personally i only use thick jails. I create them manually no tools. Just unpack base.txz
 
Skip ezjail, it's terribly old and hasn't been updated/improved in years[*]. Bastille is good, easy to use and allows the creation of different version base jails (ezjail can't handle this and royally messes up if you try).

[*] Its developer walked away, never to return.
 
These are stripped down package sets for jails: jail is not a full host system, therefore it does not make sense to install everything in it compared to the host system.

- FreeBSD-set-base-jail - pretty much "thick" jail. It includes FreeBSD-set-minimal-jail-db and FreeBSD-set-devel-dbg.

- FreeBSD-set-minimal-jail - lean, minimal set of packages to run a jail. It misses tons of libraries, tools, etc. For example, sysrc(1), cc(1), etc. are not included.

Here is a comparison of fresh install of the sets into different datasets:
Code:
# zfs list -r zroot/usr/jail | grep '15.0-'
zroot/usr/jail/15.0-base        557M  1.74T   557M  /usr/jail/15.0-base
zroot/usr/jail/15.0-base-jail   518M  1.74T   518M  /usr/jail/15.0-base-jail
zroot/usr/jail/15.0-min         130M  1.74T   130M  /usr/jail/15.0-min
zroot/usr/jail/15.0-min-jail   88.7M  1.74T  88.7M  /usr/jail/15.0-min-jail
 
Back
Top