> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/handbook/di-17-zhang-jail-yu-rong-qi/17.16.-jail-guan-li-qi-yu-rong-qi.md).

# 17.16.jail 管理器与容器

如前所述，每种类型的 FreeBSD Jail 可手动创建和配置，但 FreeBSD 也有第三方工具来简化配置和管理。

以下是不同 FreeBSD Jail 管理器的不完整列表：

| 名称          | 许可证                                             | 包                                                                                                                                                                    | 文档                                                     |
| ----------- | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| BastilleBSD | BSD-3                                           | [sysutils/bastille](https://cgit.freebsd.org/ports/tree/sysutils/bastille/)                                                                                          | [文档](https://bastille.readthedocs.io/en/latest/)       |
| pot         | BSD-3                                           | [sysutils/pot](https://cgit.freebsd.org/ports/tree/sysutils/pot/)                                                                                                    | [文档](https://pot.pizzamig.dev/)                        |
| cbsd        | BSD-2                                           | [sysutils/cbsd](https://cgit.freebsd.org/ports/tree/sysutils/cbsd/)                                                                                                  | [文档](https://github.com/cbsd/cbsd)                     |
| AppJail     | BSD-3                                           | [sysutils/appjail](https://cgit.freebsd.org/ports/tree/sysutils/appjail/), 开发版 [sysutils/appjail-devel](https://cgit.freebsd.org/ports/tree/sysutils/appjail-devel/) | [文档](https://github.com/DtxdF/AppJail#getting-started) |
| iocage      | BSD-2                                           | [sysutils/iocage](https://cgit.freebsd.org/ports/tree/sysutils/iocage/)                                                                                              | [文档](https://freebsd.github.io/iocage/)                |
| ezjail      | [Beer Ware](https://erdgeist.org/beerware.html) | [sysutils/ezjail](https://cgit.freebsd.org/ports/tree/sysutils/ezjail/)                                                                                              | [文档](https://erdgeist.org/arts/software/ezjail/)       |

自 FreeBSD 14.3-RELEASE 起，FreeBSD 发布了官方 OCI 基础系统镜像。OCI（Docker 风格）容器建立在相同的 jail 技术之上，并用 Podman 工具包管理，在 [容器](/handbook/di-18-zhang-oci-rong-qi/18.1.-gai-shu.md) 一章中介绍，与本章所述的原生 jail 互为补充。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://book.bsdcn.org/handbook/di-17-zhang-jail-yu-rong-qi/17.16.-jail-guan-li-qi-yu-rong-qi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
