Hacker News new | ask | show | jobs
by wbl 3233 days ago
Everyone already has containers and had for decades now. Why didn't they buy Sun then?
3 comments

If by everyone you meant UNIX-derived OSes, it's arguable that they all had containers in one form or another with the exception of Linux which only changed when cgroups [0] were added to the v2.6.24 kernel ~10years ago.

I think that addition to Linux paved the way for containers to enjoy wider adoption than was previously possible with other less popular container tech in OSes like Solaris (zones) or BSD (jails).

[0] https://en.wikipedia.org/wiki/Cgroups

Only three (of many) Unix-like families have containers, and while Linux was last "to the punch" the others only had them for a few years more. FreeBSD Jails were ready by 2000[1], Solaris Zones were released in 2005[2], and cgroups were merged in 2007. But OpenVZ's containers technology had already existed since 2005, and I would argue that most of the modern Linux "container" infrastructure came from their experiences (plus that of Google). To be fair, cgroups were nowhere near good enough and it took another few years for namespaces to become good enough to be considered "containers".

But my general point is that people talk about Linux as being out-of-touch when it comes to the history of containers, but if you look at the timeline that simply isn't true.

[1]: http://phk.freebsd.dk/pubs/sane2000-jail.pdf [2]: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.93....

Sun containers (and AIX, etc) were all very much treated as virtual machines. Docker containers virtualize applications, not OS. That's the key shift.
I'd argue that the key shift (in terms of e.g. configuration management) was from pet to cattle VMs. Application containers are mostly "cattle containers".
Perhaps they eventually would have if the company who currently also owns VirtualBox hadn't done so first.
Unrelated, but at the time virtualbox was owned by Sun :)