summaryrefslogtreecommitdiff
path: root/content/bsd/jails-usage-examples.md
blob: a4d7e415d8771d2843f2707ed781b5d0081c2572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
+++
title = "FreeBSD: examples of Jail usage"
author = ["Michał Sapka"]
date = 2023-12-01T21:29:00+01:00
categories = ["bsd"]
draft = false
weight = 3001
primary_menu = "bsd"
image_dir = "bsd"
image_max_width = 600
abstract = "How can we use FreeBSD Jails?"
[menu]
  [menu.bsd]
    weight = 3001
    identifier = "freebsd-examples-of-jail-usage"
    name = "Some examples of using Jails"
+++

Creating Jails in FreeBSD is very easy.
It takes few minutes to follow the [official handbook](https://docs.freebsd.org/en/books/handbook/jails/) and voilà!
We've a dedicated container.
But what can we do with it?

A very common use pattern on FreeBSD desktop is to use Jails to encapsulate dependencies, so they don't pollute the main OS.
Don't want that pesky Pyton? Straight to Jail.
Java? Straight to jail!