How to create FreeNAS Jails with iocage

www.laut‮rut‬i.com
How to create FreeNAS Jails with iocage

To create a FreeNAS jail using iocage, you can follow these steps:

  1. Connect to your FreeNAS system using SSH.

  2. Install the iocage package using the pkg command:

pkg install iocage
  1. Create a jail using the iocage create command. For example:
iocage create -n jailname -r 11.3-RELEASE ip4_addr="em0|192.168.1.100/24"

This will create a new jail called jailname using the FreeBSD 11.3 release, and assign it the IP address 192.168.1.100 on the em0 interface.

  1. Start the jail using the iocage start command:
iocage start jailname
  1. To access the jail, you can use the iocage console command:
iocage console jailname

This will open a console session in the jail.

Created Time:2017-10-28 21:39:01  Author:lautturi