Skip to content
Brandon Schneider edited this page Oct 3, 2018 · 15 revisions
feature iocage_legacy python-iocage libiocage planned
activate ✅ ✅ ✅
cap ✅ ❌ ❌ 👎, set will live-update
chroot ✅ ✅ ❌ 👎, security risk
clean ✅ ✅ ❌ 👎, too dangerous
clone ✅ ✅ ❌ 👍
console ✅ ✅ ✅
create ✅ ✅ ✅
deactivate ✅ ❌ ❌ 👍, required for multi-pool support
defaults ✅ 🆚 🆚
destroy ✅ ✅ ✅
df ✅ ✅ ❌ 👍
exec ✅ ✅ ✅
export ✅ ✅ ❌ 👍
fetch ✅ ✅ ✅
fstab ❌ ✅ ✅
get ✅ ✅ ✅
help ✅ 🆚 🆚
import ✅ ✅ ❌ 👍
init-host ✅ ❌ ❌ 👎, multi-host not in scope
inuse ✅ ❌ ❌ 👎
limits ✅ ❌ ❌ 👎, done with get/set
list ✅ ✅ ✅
migrate ❌ ✅ ❌ 👍
package ✅ ❌ ❌ 👎
pkg ✅ ✅ ❌ 👎, exec pkg instead
promote ✅ ❌ ❌ 👍, required for clone
rcboot ✅ 🆚 🆚 start --rc
rcshutdown ✅ 🆚 🆚 stop --rc
record ✅ ❌ ❌ 👎
reset ✅ ❌ ❌ 👎
restart ✅ ✅ ✅
rollback ✅ ✅ ❌ 👍
runtime ✅ ❌ ❌ 👎
set ✅ ✅ ✅
show ✅ ❌ ❌ 👎
snaplist ✅ ✅ ❌ 👍
snapremove ✅ ✅ ❌ 👍
snapshot ✅ ✅ ❌ 👍
start ✅ ✅ ✅
stop ✅ ✅ ✅
uncap ✅ ❌ ❌ 👎, done with set
update ✅ ✅ ❌ 👎, exec freebsd-update {fetch,install}
upgrade ✅ ✅ ❌ 👎 exec freebsd-update upgrade
version ✅ 🆚 🆚

Legend

✅ Implemented 🆚 Changed ❌ Not Implemented 👍 Will implement 👎 Deprecated

Iocage Versions --help output

iocage_legacy 1.7.4 (2016/02/17)

  • UCL configuration
  • Branch: develop
usage:
  iocage activate ZPOOL
  iocage cap UUID|TAG
  iocage chroot UUID|TAG [command]
  iocage clean [-a|-r|-j]
  iocage clone UUID|TAG [UUID|TAG@snapshot] [property=value]
  iocage console UUID|TAG
  iocage create [-b|-c|-e] [release=RELEASE] [pkglist=file] [property=value]
  iocage deactivate ZPOOL
  iocage defaults
  iocage destroy [-f] UUID|TAG
  iocage df
  iocage exec [-u username | -U username] UUID|TAG|ALL command [arg ...]
  iocage export UUID|TAG
  iocage fetch [release=RELEASE | ftphost=ftp.hostname.org | ftpdir=/dir/ |
                ftpfiles="base.txz doc.txz lib32.txz src.txz"]
  iocage get property|all UUID|TAG
  iocage help
  iocage import UUID [property=value]
  iocage init-host IP ZPOOL
  iocage inuse UUID|TAG
  iocage limits [UUID|TAG]
  iocage list [-t|-r]
  iocage package UUID|TAG
  iocage promote UUID|TAG
  iocage rcboot
  iocage rcshutdown
  iocage record start|stop UUID|TAG
  iocage reset UUID|TAG|ALL
  iocage restart UUID|TAG
  iocage rollback UUID|TAG@snapshotname
  iocage runtime UUID|TAG
  iocage set property=value UUID|TAG
  iocage show property
  iocage snaplist UUID|TAG
  iocage snapremove UUID|TAG@snapshotname|ALL
  iocage snapshot UUID|TAG [UUID|TAG@snapshotname]
  iocage start UUID|TAG
  iocage stop UUID|TAG
  iocage uncap UUID|TAG
  iocage update UUID|TAG
  iocage upgrade UUID|TAG [release=RELEASE]
  iocage version | --version

  Hint:  you can use shortened UUIDs or TAGs interchangeably!

  e.g. for  adae47cb-01a8-11e4-aa78-3c970ea3222f
       use  adae47cb or just adae
#

python-iocage 0.9.9.1 08/01/2017

Usage: iocage [OPTIONS] COMMAND [ARGS]...

  A jail manager.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  activate    Set a zpool active for iocage usage.
  chroot      Chroot to a jail.
  clean       Destroy specified dataset types.
  clone       Clone a jail.
  console     Login to a jail.
  create      Create a jail.
  destroy     Destroy specified jail(s).
  df          Show resource usage of all jails.
  exec        Run a command inside a specified jail.
  export      Exports a specified jail.
  fetch       Fetch a version of FreeBSD for jail usage or...
  fstab       Manipulate the specified jails fstab.
  get         Gets the specified property.
  import      Import a specified jail.
  list        List a specified dataset type, by default...
  migrate     Migrate all jails to the new jail format.
  pkg         Use pkg inside a specified jail.
  restart     Restarts the specified jails or ALL.
  rollback    Rollbacks the specified jail.
  set         Sets the specified property.
  snaplist    Show snapshots of a specified jail.
  snapremove  Remove specified snapshot of a jail.
  snapshot    Snapshots the specified jail.
  start       Starts the specified jails or ALL.
  stop        Stops the specified jails or ALL.
  update      Run freebsd-update to update a specified jail...
  upgrade     Run freebsd-update to upgrade a specified...

libiocage (e128741)

Usage: iocage [OPTIONS] COMMAND [ARGS]...

  A jail manager.

Options:
  --version             Show the version and exit.
  -d, --log-level TEXT
  --help                Show this message and exit.

Commands:
  activate  Set a zpool active for iocage usage.
  console   Login to a jail.
  create    Create a jail.
  destroy   Destroy specified resource
  exec      Run a command inside a specified jail.
  fetch     Fetch a version of FreeBSD for jail usage or...
  get       Gets the specified property.
  list      List a specified dataset type, by default...
  rename    Rename a stopped jail.
  restart   Restarts the specified jails.
  set       Sets the specified property.
  start     Starts the specified jails or ALL.
  stop      Stops the specified jails or ALL.

Clone this wiki locally