Remix.run Logo
▲ hnlmorg 6 hours ago

What’s FreeBSDs story like for Docker these days?

I love FreeBSD. But I reluctantly had to migrate one of my home servers to Ubuntu Server because I needed Docker support as well as ZFS. Ubuntu Server, compared to FreeBSD, is a complete clusterfuck of an OS. And I regret the effort I spent migrating.

▲warpflyght 4 hours ago | parent | next [-]

There's experimental support for Podman and OCI containers on FreeBSD 14.3 and later, with some additional system configuration required [0], [1]. I've been playing with it off and on with FreeBSD 15.0 and 15.1, but I'm not using it for anything I depend on.

[0]: https://docs.freebsd.org/en/books/handbook/containers/

[1]: https://podman.io/docs/installation#installing-on-freebsd

▲hnlmorg 4 hours ago | parent [-]

Nice. I’ll have a read of that later. Thank you

▲soupbowl 4 hours ago | parent | prev | next [-]

There is also this which was not mentioned by other commenters.

https://daemonless.io/

▲hnlmorg 4 hours ago | parent [-]

Looks interesting. Thanks for sharing.

▲johng 5 hours ago | parent | prev | next [-]

I used to use Ubuntu a lot about 7 years ago. I saw the writing on the wall. Once they started forcing snap down people’s throats, especially. I’ve been on Debian ever since and have been very happy. I also have run many other OS’s and I feel that Debian is still a good blend of polished and still friendly to the hacker.

▲hnlmorg 4 hours ago | parent [-]

Yeah Debian is nice. But at the time of switching, only Ubuntu offered ZFS precompiled in their official repos.

I did, for a period, run some other distro with DKMS but that was a massive pain to keep up-to-date due to ZoL’s piss poor documentation and messy build tools.

This was quite a few years ago though. Long before even FreeBSD synced with ZoL for OpenZFS. So the problems I encountered have likely matured tenfold since.

But if I’m going to the hassle of installing a new OS then I might as well install FreeBSD again because I just prefer it to Linux (nothing against Linux in general, my laptops and PCs all run Arch and I’ve made a career from supporting a variety Linux platforms)

▲TacticalCoder 5 hours ago | parent | prev [-]

> What’s FreeBSDs story like for Docker these days?

My current setup for Docker (Podman really in my case):

    Proxmox -> Linux VMs -> Podman containers inside Linux VMs
My plan:

    FreeBSD's bhyve hypervisor -> Linux VMs -> Podman containers inside Linux VMs
So basically just ditching Proxmox for FreeBSD/bhyve. Then at long last I'll be, again, systemd-free.
▲hnlmorg 4 hours ago | parent [-]

I did consider the bhyve approach myself, before I made the switch. But it was still pretty experimental at the time (iirc) and wanted something reliable otherwise I’d have a wife and two kids moaning at me that their stuff isn’t working haha!

But maybe you’re right that it’s worth reconsidering now.