A jail is simply a chroot with strong isolation. So, if you want to create jail, you simply need to create an alternative root and starting a new jail in it.
Simple jail deployment from binaries
# create our alternative root path
JAILROOT="/path/to/my/jail"
mkdir -p "${JAILROOT}&q...