From 3d55947402284a182bca754dd274dd75b9f7d386 Mon Sep 17 00:00:00 2001 From: tschettervictor Date: Mon, 10 Nov 2025 21:35:38 -0700 Subject: [PATCH] docs: add linux jails --- docs/chapters/linux-jails.rst | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/chapters/linux-jails.rst b/docs/chapters/linux-jails.rst index c43b5386..5169ccb1 100644 --- a/docs/chapters/linux-jails.rst +++ b/docs/chapters/linux-jails.rst @@ -1,2 +1,29 @@ Linux Jails -=========== \ No newline at end of file +=========== + +Bastille can create Linux jails using the ``debootstrap`` tool. When +attempting to create a Linux jail, Bastille will need to load some modules +as well as install the ``debootstrap`` package. When prompted, enter +'yes' when bootstrapping a Linux release. + +Bootstrapping a Linux Release +----------------------------- + +To bootstrap a Linux release, run ``bastille bootstrap bionic`` or +whichever release you want to bootstrap. Once bootstrapped, we can +use the ``--linux|-L`` option to create a Linux jail. + +Creating a Linux Jail +--------------------- + +To create a Linux jail, run ``bastille create -L mylinuxjail bionic 10.1.1.3``. +This will create and initialize your jail using the ``debootstrap`` tool. + +Once the jail is created, proceed to do your "linux stuff". + +Limitations +----------- + +* Linux jails are still considered experimental. + +* Linux jails cannot be created with any type of VNET options. \ No newline at end of file