Re:Linux containers in 500 lines of code (2016)
by TheDong on Wednesday February 05, 2020 @01:24AM
(#22244473)
The question wasn't about running docker on *BSD or macOS, but rather running some form of native container. Native containers don't rely on linux, they rely on the kernel having some form of containerization primitive.
FreeBSD has jails, which are a native type of container on freebsd.
However, BSD operating systems are really different from each other. OpenBSD doesn't have jails or anything too like containers, and macOS does have sandboxes (which are kinda like a container in some way), but no proper containers.
Docker isn't really related to the question of whether a native container solution exists on non-linux platforms.
Re:Linux containers in 500 lines of code (2016)
by jsjohnst on Wednesday February 05, 2020 @09:27AM
(#22246891)
Darwin is the generic name for the open source posix OS that’s the basis for MacOS (and others).
It would be more appropriate to compare the XNU micro kernel used in Darwin to the Linux kernel used in GNU/Linux in your analogy.
Sure with enough changes MacOS could support it, but then with enough changes to anything, so that is not really a sensible measure.