We can set our first dataset for iocage’s use with sysrc(8) or by editing rc.conf(5):
~libioc # sysrc ioc_dataset_default="zroot/iocage"
ioc_dataset_default: zroot/iocage -> zroot/iocage
and verify now that it really works with ioc list, which should return an empty table:
# ioc list
+-----|-----------|---------|---------|----------+
| JID | FULL_NAME | RUNNING | RELEASE | IP4_ADDR |
+=====+===========+=========+=========+==========+
+-----|-----------|---------|---------|----------+
If you’re noticing a bit of a delay in ioc list, this might be due to a well-known performance issue.
It occurs especially on large machines, and we recommend that you mount fdescfs(5):
mount -t fdescfs null /dev/fd
and persist it to /etc/fstab:
fdescfs /dev/fd fdescfs rw 0 0