+++ 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!