Runj: Experimental, proof-of-concept OCI-compatible runtime for FreeBSD jails
github.com
github.com
> This is a personal project, not backed by the author's employer.
There was an experimental Docker port for FreeBSD some years ago and it was actually working. I think it is mentioned here https://wiki.freebsd.org/Docker. However, it wasn't extremely useful as it didn't reach maturity, and because FreeBSD already had Jails. Which we were already using in production for the past ~15 years.
Ed: for example, AFAIK there's no native build of Microsoft sql server for freeBSD, but there's a release for Linux, and a docker (oci) image:
https://hub.docker.com/_/microsoft-mssql-server
So, assuming runj could fetch from docker hub, and interpret the images, you might in theory just:
runj run mcr.microsoft.com/mssql/server
(I'm not sure about the status of init vs oci - I know docker defaults to/uses tini these days?).
To me, Dockerfile and the image repo is the killer-app side of this.
Conversion scripts, re-compilers would be cool. Lots of things won't work, because of assumptions about what POSIX or like spec means inside the run state, but it would be a great first move, and over time people would move to more portable OCI outcomes hopefully.
As is, jails feel a lot more like base system + fragile setup scripts.