Hacker News new | ask | show | jobs
by edjrage 2053 days ago
Honest question as an outsider: What did Docker introduce that wasn't better addressed by other technologies? E.g. wasn't reproducibility the main point and already properly solved by nix?

By the way, it's "per se"

4 comments

Dockerfiles are far simpler than the Nix language. Likewise, sure, FreeBSD had jails first (and for a long time!), but they are more difficult to set up.

Docker allowed reproducibility to be accomplished by a person who likes the idea of it, but will shelve it if it doesn't work within an evening. This describes me, for example. I think it took off for that reason.

Nix has a multitude of drawbacks the biggest being learnability.
god yes. Friggin' Nix is such a great idea, but such a pain to start using...
I mean you could say the same for vim, but I still learned it and am now reaping the benefits.
Yes, but most people don’t bother.
IMHO, it was the whole package: One tool that could configure and wrangle all the various kernel namespaces in order to make containers work.

They also benefited significantly from the splash they made and the tech excitement factor. I still run into people in my consulting work that are fairly new to containers, but brand recognition on Docker is through the roof. Everybody has heard of them even if they don't know what it can do for them.

As Apple have spent the 21st century demonstrating time and time again, a more usable form of a well-established idea is better.
You don't have to use the nix lang, Dockerfiles are much easier to get started working with.