Haha nice! I managed to do the same thing today and thought I might post my findings here at the forum. But it seems it has already been done. But I'll add my procedure here since I'm using VNET and bastille as jail manager and It could help someone.
# bastille create -E empty
# pkg -r...
...FreeBSD-clang
FYI, I created the jail following the instructions at:
https://forums.freebsd.org/threads/minimal-pkgbase-jails-chroots-docker-oci-like.99512/
that can be summarized as:
Create a ZFS container
Copy PKG keys
Install FreeBSD-set-minimal-jail with pkg -r /jail/container/dev
...esphome in a rush, so I found two practical, not pure ways to get things done.
The first approach is to simply use podman with esphome docker container like that would do on Linux.
It's not super efficient, but it works.
Sample command line:
podman run --os=linux --network=host --rm -v...
I noticed that on many docker images out there.
Example
podman run -it --os=linux --rm docker.io/leesonaa/immich
results in
s6-overlay-suexec: fatal: can only run as pid 1
Is there anything we can do about? That would be aweseome and a real gamechanger for Docker on FreeBSD
...server since 13.something (I don't remember exactly) and since it's just flawless.
It runs NetBSD OpenBSD and FreeBSD like a charm, few linux distro, one of them even runs docker without any particular issue.
So far so good, but I must admit templates in their github wiki helped me a lot though.
...without needing to install PHP, Composer, npm, or any runtime dependencies.
**FreeBSD-specific approach:**
Unlike the Linux builds which use Docker, the FreeBSD build:
- Compiles PHP 8.5 directly from source with 35+ extensions
- Bundles required .so files (libiconv, libxml2, libssl...
I blame Docker and containers :p (new training probably starts at that and AWS/cloud VMs), and if it works good-enough, why look into something else less-popular?
I recently started exploring FreeBSD for my servers (having run Ubuntu Linux for 10 years). On my MacBook client, I just install the required packages (Django/Gunicorn/PostgreSQL) with Homebrew and some handmade LaunchAgents, and use a small Linux (probably FreeBSD in the future) host as a...
...linux version locally and in the VPS you don't need anything else, even with CGO enabled. This is usually faster to build a binary than using Docker.
There is podman support with using the linux binary compatiblity.
Podman is a drop in replacement for Docker for containerization. It's...
...on the host it works as expected on the guest. Is there anything more I can do or will I have to work around this? Not too much of a big deal, but it would be nice to have this working.
(My intended use-case is to run Docker on the guest with /var/lib/docker stored on a ZFS dataset on the host)
I noticed that many docker containers use s6-overlay thing which provides s6 as init replacement (and more).
Unfortunately, the silly thing insists on running as PID 1.
As I understand, Linux containers can / do have separate PID spaces while on FreeBSD we do not have that, jails share the...
Yeah the parts behind the HTML, specifically making sure the different programming language runtimes (e.g., Java, Ruby, whatever), servers, databases, etc. work the same during development as during a deploy. If you're running (just as an example) Ruby on your Macbook locally and then the same...
...always depends on the environment provided by OS - think of libraries and assistant services (like Redis, for example), as a bare example.
Docker address the biggest "it works on my computer" thing, letting people in charge of infrastructure run the same config and code as developer does on...
...from breaking for devs with testing). I guess it varies depending on what's being developed, but devs shouldn't need to be involved with Docker or the OS? It should just-work (I'm thinking something like a dev opening a laptop and firing up an IDE like IntelliJ to dev for Android: as long as...
...recognition.
2024: Dave Cottlehuber led the work to include FreeBSD official OCI images, which first appeared in 14.2. They are available on Docker Hub and GitHub Container Registry.
2025: Doug Rabson led the work to add FreeBSD as a platform to the OCI runtime specification, it is available...
You can run Linux containers, yes. Not any. Just the ones that doesn't rely on exotic Linuxisms that aren't yet present in the Linuxulator.
And it's Jails all the way down.
Does it mean that it is possible now to run any Linux docker container on FreeBSD without a bhyve? Are there any downsides? I have never used docker containers, but I see that many projects tend to provide docker container with missing or old documentation how to do without docker. So it may be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.