News for hackers. Stuff that matters.
Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by tyingq on Monday April 02, 2018 @08:29PM (#16740795)
Kinda feels like I'm I a foreign country and run into someone that speaks my language :). Thanks for the additional info, like frakti, for example...didn't know about that.

Explaining docker is frustrating for me because I was a Unix admin back in the 90's. So, for me, it's pretty easy to see what it is. And, it isn't new. There isn't much it does that Solaris zones or BSD jails, didn't do. And those predate docker by years. Namespaces, cgroups, and pivot_root. That's basically all of it. Kudos to docker for marketing it better.

Explaining it, on the other hand, to a broad audience...

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by zbentley on Tuesday April 03, 2018 @10:09AM (#16744716)
That's sorta true, but the layered-userspace-filesystem support is a pretty big feature that Docker pioneered Linux support for.

Did userspace filesystems/layered filesystem-in-a-box implementations exist before? Sure: from ZFS to squashfs to tar, all the components were around.

But Docker's popularity is due to its integration; not its novelty. By bundling a filesystem-in-a-box abstraction layer with varying degrees of native OS support into something like a mountable artifact/image, hiding the image caching mechanics behind a nice CLI and image-configuration file format (love 'em or hate 'em, Dockerfiles are a phenomenal example of minimalism and convenience: add some meta commands, and everything else is just shell), and integrating all that with the privacy/isolation (namespaces/chroots) and resource management (cgroups/quotas) stuff, Docker made a really, really powerful model of thinking about "containers" as a single concept.

The thought model is Docker's big achievement: other competitors may unseat Docker eventually, but the concept of "container" as a single, unitary thing that's almost like a VM image will stick around, and the more piecemeal understanding of how containers work will be largely unnecessary, and thus save a lot of time for a lot of people.

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by cyphar on Wednesday April 04, 2018 @05:10AM (#16753186)
LXC had most (if not all) of what you're describing, and a long time ago Docker was just a simple wrapper around LXC. A lot of the inspiration for containers came from other operating systems (FreeBSD Jails and Solaris Zones) as well as previous work such as Xen.

I think what made Docker popular was that it was easier for developers to use, with small bits of information like what ports the container wants to listen on and so on. From an administration standpoint, LXC was already more than good enough.

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by tyingq on Tuesday April 03, 2018 @10:43AM (#16745072)
I agree with all of that, but none of it is their intellectual property. It's mostly brand recognition that keeps them afloat.

K8s could easily release a command line clone and unseat docker in fairly short order.

Not dimininishing the value of what the docker folks bundled together and marketed. They did a terrific job. It just isn't very protected.

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by hardwaresofton on Monday April 02, 2018 @10:07PM (#16741329)
Yeah I didn't either, until not too long ago but now I'm pretty excited to use it.

As a person who wasn't a linux admin back in the 90s, and doesn't normally hang out on mailing lists, the first time I saw lxc was some random article on lwn.net (I don't hang out there, but they have some super high quality articles), and I definitely didn't put together how much of a difference it was poised to make, or even know why it was a good idea (people were still getting used to vagrant everywhere at the time) -- docker definitely did the community a service by bringing the hype train, if only so that once the hype subsided containers would be here to stay.

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by Annatar on Tuesday April 03, 2018 @08:04AM (#16743831)
As a person who wasn't a linux admin back in the 90s,

Nobody was a Linux admin in the ‘90’s: we ran HP-UX, IRIX, OSF/1 DECUnix (and Ultrix), AIX, Solaris and NetBSD; those were our Linux we grew up on like you grew up on a Linux ISO on your parents’ PC bucket.

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by js2 on Wednesday April 04, 2018 @09:22AM (#16754397)
I ran a small ISP on a pair of Linux (Slackware probably) boxes, a Livingston Portmaster, a bank of Hayes modems, and a T1 in the mid-90s. So some of us were Linux admins then.
Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by tyingq on Thursday April 05, 2018 @12:26AM (#16761761)
Me too. Maintained a small (100 or so) fleet of Slackware Linux desktops for a support org in the early 90's. Rare, but did exist. Was the install 13 1.44mb floppies? Seems to ring a bell. Lots of waiting for the prompt to switch out the floppy. And a more intimate relationship with "dd", "kermit", etc, than I remember ever encountering again.

Also, whoever wrote x3270. Thank you!

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by Annatar on Monday April 09, 2018 @01:20AM (#16790608)
That's crazy: Linux isn't rightly usable even now 20+ years later, and you ran it in mid '90's when it could barely boot a shell reliably. And Slackware no less, which meant dumping tape archives everywhere instead of package management.

Crazy.

Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by Torgo on Thursday April 05, 2018 @12:27PM (#16766329)
We have a 1999 VA Linux box still "in production" (just to see how long it will go, at this point. Nothing mission-critical.)
Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by d0mine on Tuesday April 03, 2018 @08:03AM (#16743825)
From outside (I know nothing about zones, jails) it looks like saying Dropbox is not new (in 2007) because rsync was not new.
Re:A Workshop on Linux Containers: Rebuild Docker from Scratch by tyingq on Tuesday April 03, 2018 @09:10AM (#16744269)
Look into either. They are pretty much the same thing as docker. It's isn't a superficial similarity.

For example, filed in 2003: https://patents.google.com/patent/US20050021788