FreeBSD Jail Management

System Commands

  • jail(8): create (-c), remove (-r), modify (-m), and exhibit (-e) jails
  • jls(8): list (exhibit) jails in human-friendly formats
  • jexec(8): execute commands within jails

System Commands Supporting Jails

Configuration Files

System Calls

Controlling jails from C programming languages including the sys/jail.h header file.


There’s also libjail, an included C library for jail management calling the system calls above.

  • jail(3): front-end interface library to jail system calls

Source Code

In the package jail



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elvin Aslanov

Elvin Aslanov

Unix and Open Source Software passionate. Currently working as Tech Support / System Administrator at a Web Hosting company.