iocage
I've been using the new python rewrite of the jail manager [iocage],(https://github.com/iocage/iocage) for FreeBSD, and since it's still in rapid development there have been a lot of new changes and bug fixes. A few of which have been my own. Since releases aren't put out with every update I decided it would be a good idea to run from the master branch.
Since I didn't feel like polluting my system with user install python packages that weren't being managed by the package manager, I thought it would be a good idea to install them into a virtual environment. It seems to have worked well so far.
Install From git in a virtualenv
Create /usr/local/opt/iocage
, install requirements and download source.
pkg update && pkg upgrade && pkg install python36 libgit2 git # Or git-lite
mkdir -p /usr/local/opt/iocage
git clone --recursive https://github.com/iocage/iocage
Enter source directory, create a venv for the install..
cd iocage
python3.6 -m venv venv
Enter the venv and install.
source venv/bin/activate
make install
deactivate
Symlink the script to /usr/local/bin/
.
ln -s /usr/local/opt/iocage/iocage/venv/bin/iocage /usr/local/bin/iocage
And test:
iocage --version
Version 0.9.9.2 RC
Last updated