News for hackers. Stuff that matters.
Re:Ubuntu Linux Jail on FreeBSD 12.2-Release by accountofme on Monday November 02, 2020 @08:25PM (#24975405)
Having played with SmartOS containers using linux compatibility (not docker). I will say this: Use native containers for that OS. The slight differences that you will find, will drive you up the wall. They will be esoteric and happen at the worst time.

And i should say I love SmartOS, it is a really cool bit of tech... I just love simplicity more, and a compatibility layer is never simple.

Re:Ubuntu Linux Jail on FreeBSD 12.2-Release by cchdmdldkdjfdk on Tuesday November 03, 2020 @12:18AM (#24976595)
https://en.wikipedia.org/wiki/SmartOS

If linux comes out with tools remotely approaching the quality of either freebsd or solaris planning everyone should drop what they're doing to go watch. Linux ain't gonna improve itself, and the pains of docker are an excellent entry to pressuring linux devs to do anything that can improve userspace experience, an otherwise deeply unlikely prospect. It took them more than a decade to implement basic jailing after BSDs and the tech is still, shall we say, extremely rough....

Re:Ubuntu Linux Jail on FreeBSD 12.2-Release by hedora on Monday November 02, 2020 @10:33PM (#24976038)
Yeah. I can’t even get some Linux containers to run under $ESCOTERIC_DEBIAN_BASED_DISTRO.

The ancient rhel something something doesn’t like the debian other thing, and I even saw a changelog about broken kernel compatibility and flipping a flag in proc or cmdline but then I forgot what it said.

Whatever. Life is short. Docker is in no way independent of the host kernel. Spend time debugging something else.

SmartOS is great though. I wish they’d take over the world.

Re:Ubuntu Linux Jail on FreeBSD 12.2-Release by danieldk on Tuesday November 03, 2020 @02:46AM (#24977375)
To give this argument some more meat with an example: some older glibc versions use vsyscalls and not vDSO. And kernels in some modern distributions disable vsyscall emulation. This is a problem because people use CentOS 5 or 6 images to build binaries that are compatible with many historical glibc versions.

If the host system does not enable vsyscall emulation, running binaries on such old distributions will lead to segfaults. (Which can be resolved by booting the host kernel with vsyscall=emulate.)

Re:Ubuntu Linux Jail on FreeBSD 12.2-Release by yjftsjthsd-h on Tuesday November 03, 2020 @12:23AM (#24976624)
> Yeah. I can’t even get some Linux containers to run under $ESCOTERIC_DEBIAN_BASED_DISTRO.

I would love any details you can provide; that sounds interesting. (I'm an OS nerd)