Now if only container support was ready it would be a viable option instead of Linux as the default base OS and container assumption.
doublerabbit•3mo ago
> container support
you mean, docker? Everything you can do in docker, you can do with jails.
Jails can have Virtual Networks with their own interfaces, you can resource limit, host virtual machines and setup nested jails. As well run the Linux kernel. What more could you want?
sundbry•3mo ago
He means he wants to run FreeBSD inside the container environment, not as the host OS.
doublerabbit•3mo ago
The container environment has to sit on a kernel. Whether that being Linux or BSD; BSD has shown support where *nix has not.
mikece•3mo ago
No, I'm talking about running FreeBSD on the metal and then running containers without a Linux VM to as the host for containerization.
nucleardog•3mo ago
> you mean, docker? Everything you can do in docker, you can do with jails.
Jails provide the same sort of primitive as cgroups et al wrapped up into the concept of an OCI container, yes. But lack the entire ecosystem of tooling and services that go around those.
Saying jails are a meaningful alternative to containers completely misses most of the ways in which people actually _use_ containers. The experience as-is is closer to a lightweight VM or LXC than what people associate with containers.
I say this as the kind of stubborn person that invested the time to spin up a cluster of FreeBSD machines running Hashicorp's nomad as a task orchestrator to manage running jails published to my "repository" across the cluster and recreate the general "container" experience. So my experience may be out-of-date, but this isn't from a place of ignorance or lack of love for FreeBSD, but from a place of "I've managed a colossal pile of bash scripts to recreate the container experience with jails and, no, for the average person it's not fair to call it the same thing.".
crest•3mo ago
Your ignorance is showing. Jails have been supported for a bit over 25 years.
etc-hosts•3mo ago
Current docker tooling is so much nicer than whatever I was messing around with in jails 16 years ago.
You just don't want to accept that when people say containers, they don't mean jails or LXC...
piperswe•3mo ago
Podman is available on FreeBSD...
mikece•3mo ago
Stable? I know it was in alpha a couple years ago.
kevincox•3mo ago
I'm curious why root was required. If I had to guess it was building some filesystem images where the in-kernel filesystem driver previously needed to be used?
frumplestlatz•3mo ago
“Building FreeBSD release artifacts no longer requires root access to create device files, set proper ownership, and mount file systems during the build process. ”
mikece•3mo ago
doublerabbit•3mo ago
you mean, docker? Everything you can do in docker, you can do with jails.
Jails can have Virtual Networks with their own interfaces, you can resource limit, host virtual machines and setup nested jails. As well run the Linux kernel. What more could you want?
sundbry•3mo ago
doublerabbit•3mo ago
mikece•3mo ago
nucleardog•3mo ago
Jails provide the same sort of primitive as cgroups et al wrapped up into the concept of an OCI container, yes. But lack the entire ecosystem of tooling and services that go around those.
Saying jails are a meaningful alternative to containers completely misses most of the ways in which people actually _use_ containers. The experience as-is is closer to a lightweight VM or LXC than what people associate with containers.
I say this as the kind of stubborn person that invested the time to spin up a cluster of FreeBSD machines running Hashicorp's nomad as a task orchestrator to manage running jails published to my "repository" across the cluster and recreate the general "container" experience. So my experience may be out-of-date, but this isn't from a place of ignorance or lack of love for FreeBSD, but from a place of "I've managed a colossal pile of bash scripts to recreate the container experience with jails and, no, for the average person it's not fair to call it the same thing.".
crest•3mo ago
etc-hosts•3mo ago
mikece•3mo ago
https://blog.jessfraz.com/post/containers-zones-jails-vms/
vermaden•3mo ago
More here:
- https://vermaden.wordpress.com/2023/06/28/freebsd-jails-cont...
- https://vermaden.wordpress.com/2025/04/11/freebsd-jails-secu...
- https://vermaden.wordpress.com/2025/04/08/are-freebsd-jails-...
nesarkvechnep•3mo ago
piperswe•3mo ago
mikece•3mo ago