Compare commits
2 Commits
cdcb466417
...
v0.38
Author | SHA1 | Date | |
---|---|---|---|
c55262690a | |||
c5aa547e5d |
@ -8,11 +8,11 @@ Gocage can handle multiple datastores, so you can have jails on HDD storage and
|
|||||||
|
|
||||||
From v0.33b, due to multi ZFS pool support, gocage is no longer 100% compatible with iocage.
|
From v0.33b, due to multi ZFS pool support, gocage is no longer 100% compatible with iocage.
|
||||||
Zfs datasets now should be specified with the ZFS pool. e.g. :
|
Zfs datasets now should be specified with the ZFS pool. e.g. :
|
||||||
<code>
|
<pre><code>
|
||||||
Config.Jail_zfs = 1
|
Config.Jail_zfs = 1
|
||||||
Config.Jail_zfs_dataset = myzfspool/poudriere
|
Config.Jail_zfs_dataset = myzfspool/poudriere
|
||||||
Config.Jail_zfs_mountpoint = none
|
Config.Jail_zfs_mountpoint = none
|
||||||
</code>
|
</code></pre>
|
||||||
|
|
||||||
Create jails
|
Create jails
|
||||||
------------
|
------------
|
||||||
@ -24,8 +24,9 @@ gocage set Config.Ip4_addr="vnet0|192.168.1.91/24" Config.Vnet=1 jail1
|
|||||||
|
|
||||||
Create basejail (jail based on a template, system will be nullfs read-only mounted from the template):
|
Create basejail (jail based on a template, system will be nullfs read-only mounted from the template):
|
||||||
<pre><code>
|
<pre><code>
|
||||||
# First create basetpl from 13.2-RELEASE
|
# First create basetpl from 13.2-RELEASE, set it as a template
|
||||||
gocage create -r 13.2-RELEASE basetpl
|
gocage create -r 13.2-RELEASE basetpl
|
||||||
|
gocage set Config.Jailtype="template" basetpl
|
||||||
# Then create basejail1 based on basetpl
|
# Then create basejail1 based on basetpl
|
||||||
gocage create -b basetpl basejail1
|
gocage create -b basetpl basejail1
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
Reference in New Issue
Block a user