3 ms·
Linux containers make use of a kernel API which freebsd doesn't implement. However, you could run linux apps under a regular linux userspace inside of a freebs
by moonchild 6y ago
Linux containers make use of a kernel API which freebsd doesn't implement. However, you could run linux apps under a regular linux userspace inside of a freebsd jail.
- e12e 6y agoRight, you couldn't run docker/dockerd, but you could run some docker images, probably? They're just filesystems with regular Linux binaries in them. 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 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?).
- ggm 6y agoFreeBSD implements a nice Linux compatibility shim. It might be worth asking if the cost to implement the kernel API needed for this, is too high, or can be GSoC or something.