Live data from Hacker News

Ubuntu Linux Jail on FreeBSD 12.2-Release

wiki.freebsd.org

11–20 of 86 posts

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#12
post #6

I wish there was a usable Docker Engine API implementation that could run containers in jails using zfs for image layering. There is a Docker for FreeBSD port, but last time I checked, it was super old. Having Docker as a first class citizen on FreeBSD would make it really incredibly as a server OS.

> Having Docker as a first class citizen on FreeBSD would make it really incredibly as a server OS.

Now if only if FreeBSD wasnt an slow, unstable, glued together example of an OS.

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#13
post #12
post #6

I wish there was a usable Docker Engine API implementation that could run containers in jails using zfs for image layering. There is a Docker for FreeBSD port, but last time I checked, it was super old. Having Docker as a first class citizen on FreeBSD would make it really incredibly as a server OS.

> Having Docker as a first class citizen on FreeBSD would make it really incredibly as a server OS. Now if only if FreeBSD wasnt an slow, unstable, glued together example of an OS.

> glued together example of an OS

This is a strange assertion when the implication is that Linux is somehow not "glued together" despite requiring distributions to literally glue the pieces together.

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#14

Nice progress, but it notes that `systemd` doesn't work, which means all the things that depend on `systemd` won't work either.

I've been generally OK with systemd, and think most of the complaints about it were over-dramatic, but this is exactly one of the things we were warned about, right?

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#15
post #6

I wish there was a usable Docker Engine API implementation that could run containers in jails using zfs for image layering. There is a Docker for FreeBSD port, but last time I checked, it was super old. Having Docker as a first class citizen on FreeBSD would make it really incredibly as a server OS.

Every couple of years people express interest but no one has ever done the work. It is very much doable as the original port showed, and the zfs driver already exists for image layering as that works on Linux.

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#16
post #6

I wish there was a usable Docker Engine API implementation that could run containers in jails using zfs for image layering. There is a Docker for FreeBSD port, but last time I checked, it was super old. Having Docker as a first class citizen on FreeBSD would make it really incredibly as a server OS.

Maybe not docker, but there is pot: https://potluck.honeyguide.net

Which aims to provide something similar as Docker for FreeBSD.

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#17

Nice progress, but it notes that `systemd` doesn't work, which means all the things that depend on `systemd` won't work either.

Systemd is emphatically Linux-specific software and relies on almost every single non-POSIX syscall under the sun. FreeBSD's Linux emulator isn't complete enough to run systemd at this time (chiefly missing things like cgroups and namespaces). It is theoretically possible we could eventually emulate enough of Linux to run systemd.

As far as things that depend on systemd — sort of. Sure, you won't be able to manage servers with systemctl and that sort of thing; systemd as pid 1. Smaller pieces under the systemd umbrella, of which there are several, may work well enough.

Re: Ubuntu Linux Jail on FreeBSD 12.2-Release

#18
post #2

In order for the linux compat to be generally useful, we really need to get electron apps working, which means getting chrome itself working. There are some commercial software packages that run which are useful in more limited scopes. For example, I run a linux PVR server (SageTV), and Intel's Vtune GUI. But getting chrome & electron working would enable tons of commercial linux apps.

Running Linux Chrome in a FreeBSD Linux jail already works [1]. But, Chrome is already ported to FreeBSD [2]. Not sure why you'd need Linux Chrome specifically. In fact, there's already a port of Electron [3]. [1] https://forums.freebsd.org/threads/linuxulator-how-to-run-go... [2] https://www.freshports.org/www/chromium [3] https://www.freshports.org/devel/electron5/

Ah, I think the key part from [1] is: "--no-sandbox --no-zygote", and possibly "--test-type". Cool, thanks.
Post reply on HN