by AaronFriel · 7y ago · 0 comments
It's unfortunate they didn't figure out a way to make money off the best thing to happen to building and deploying software in 20 years.
A lot of other people did, from the startups now selling value-adds to Kubernetes like Kong and Tigera and TwistLock (since acquired) and others, to the public clouds which all offer Docker-based build services, image registries, and PaaS deployment tooling, to Kubernetes itself which for most users today still relies on Docker.
Without Docker everything new becomes a project on its own where you need to call in "ops" for the smallest of things. Not anymore. Ofcourse this has some other downsides, but in general it's a massive step forward.
I hope that one day we will stop echoing that or framing it as a bad thing.
It's always good to involve people. Writing, build and running software is a shared responsibility.
I truly believe that if you be nice with your ops, explain what you want to achieve, they will help you. It is a two-way street.
It is not a tool that will "fix" how humans interact.
Also, put yourself in their shoes, it could be that:
"With Docker everything new becomes a snowflake on its own where you need to call in "dev" for the smallest of things." -- or uncompress the image and look around how/what a specific image does things when it start, place app/config/data files, etc...
All too often, they're responsible to handle things breaking, but not responsible for getting features out the door.
Hence, they become a huge gate to get anything out; they have no incentive to help you.
Meanwhile, you get dev owning some of the operational burden, and it works pretty well. Until you have compliance needs to separate them.
Probably the same people who said Dropbox brings nothing new over rsync. Making something easier and bringing it to more people (two halves of the same thing) is a BIG value add. Often the majority of the value.
Not quite!
I wrote my own rsync-like-toolset before rsync itself was released (far too late, when you think of it!), and I immediately loved DropBox.
Maybe because I am dev, AND I am ops, or maybe because (unlike DropBox) I am not sharing folders with my mother, but more likely, because I'm an idiot (everyone tells me "Catcher in the Rye" is great - and after having read it every 3rd year for nigh on 30 years, I still don't get it), but I don't really understand the appeal of docker.
Sure, I can use it, because you kind of have to these days, and I don't really find it objectionable, but it seems like there is a whole lot of "something there" that I'm missing. At this point, I'll probably never understand the benefit of. It won't be the last tech ritual I will have to endure before I die...
I’m going to keep trying, probably, because so far it’s one of the only big classics I haven’t liked. Anyway, maybe we’re both idiots!
Starting with the outright lies about what Docker could or could not do (Docker does X, Y, and Z - but Y and Z were actually still in development), to the outright refusal to play nice with the open source community (remember the Docker vs. CoreOS fights for standardization of container formats?). If Docker didn't invent it, or think of it first, it was a terrible idea and had to die.
They even went so far as to start a convention before they had a production product.
Then Kubernetes, Rocket and all the other container platforms and tooling came along and ate their lunch. Why did people adopt them so quickly? Because they played nice with each other and made it easy to build your system as you wanted it... not just as Docker wanted it.
The entire thing was a money grab. And when things went sideways, they made some terrible decisions (the entire Moby fiasco). It's not surprising Docker finally fell...
Because Google of course.
We don't need one. Red Hat is working on podman.
It's one reason I'm really not a fan of the Silicon Valley model .... pick out the top 10 most important technology advances in the last 20 years and about half of them were uncommercialisable in the Silicon Valley sense.
https://en.wikipedia.org/wiki/List_of_Java_virtual_machines
Google is the only one that worked around the licensing, and now we have our phones stuck on a mix of Java 6 - 8 subset.
Something like Docker may eventually hold this title, but Docker itself? Certainly not. It was simply too poorly executed, both strategically but especially technically.
Running production workloads in Docker containers was, is, and will be remembered as nothing short of professional negligence. Often expedient, sometimes worth the risk, but always a liability.
A bunch of disorganized unpinned dependencies get thrown into a container that will work in a reproducible manner only until one of the upstream deps changes.
This approach also allows people to get away with deploying an app without truly understanding it. That's always been a good recipe for success.
Another poster claimed that it's mainstream practise, so what? So was running your web-server on 90s era IIS. Not that that was good idea either.
Even if you install from repos in the dockerfile, they should have version numbers.
I guess I'm old school but I install the stuff on my linux instance or server and work out the dependencies so they don't clash.
I haven't found it that difficult.
Just cos the devs want to throw some ill conceived container over the fence onto my systems, doesn't mean I let them. ( I mean I guess they can, but only if they get the support calls instead of me.)
Definitely not.
Docker is a lovely developer tool, but it’s not, in my experience, ever been (even with swarm when that was a thing) suitable for production workloads.
Containers: yes.
Docker: that’s a container runtime, and definitely not mainstream for production workloads.
Docker runs as the Container Runtime under most Kubernetes clusters (in fact every Kubernetes cluster I've seen). The only other CRIs that are commonly used are CRI-O and ContainerD (which Docker already uses), and last I saw CRI-O was < 10% of the Container runtime market.
Care to explain what makes that docker tool/runtime unsuitable for production ?
If you still install a full ecosystem every time you want to try a piece of code in any language in Github instead of doing docker run I think you are missing something.
With that said I too use it in my dev machine and don’t really see the downsides for the kind of projects I work on, so I’m curious if you can explain your opinion.
One should not miss the importance of running Docker under Windows or OSX natively, with a VM running Linux tucked behind the scenes. It makes developers' experience so much nicer, and compatible across platforms. This helps adoptions a lot.
Time and again, path to mass adoption is not technical excellence, but making an important thing stupidly easy, when one has no excuses not to try.
What Docker did provide that other packaging tools didn't was free image hosting for anyone, no vetting, no strings attached. Of course that was a major hit with developers. Free hosting often is, especially when well integrated with development tooling.
The thing is that it sets you up for a nice acquisition. But for some reason Docker, Inc. felt they wanted to go the VMware Way instead and sell enterprise tools to enterprise customers. Those are two different strategies that will never be reconciled. It makes sense for them to shed that part and double down on Docker Hub and the Mac/Windows tooling.
It does. You can do crazy shit like this with Docker containers:
thinking about the time we created docker at work in 2009:
nobody could remake our centos4 build machine for our C++ code
so we shut it down, imaged the file system into a .tar.gz, and
made our makefiles transparently extract it & build via chroot.
so absolutely fucking cursed -- @stdlib
https://twitter.com/stdlib/status/1192461409549987841It's essentially still exactly what docker allows you to do:
tar-up your whole f'ing disk, and run it in a chroot somewhere else.
Try doing something like this with yum. Good luck.Of course it's horrible. But now, you can get away with it.
What has Docker to do with this?
".. in 2009: nobody could remake our centos4 build machine for our C++ code ... so absolutely fucking cursed"
What lead a computer running a supported operating system[1] in a state like this? Distill that and you have docker :)
1. https://en.wikipedia.org/wiki/CentOS#End-of-support_schedule
Just a guess...
Docker (the software, not the company) and Stripe are two of the best recent examples of that.
What Docker did is make a great application packaging tool, and the fact that it uses cgroups/namespaces underneath is irrelevant for 99% of users, because they're deploying containers in VMs.
Docker is still an over-engineered solution to this problem, but its popularity is evidence that there is in fact a problem.
Docker became popular because it provides an abstraction that simply (and elegantly) eliminates the problem of distributing and running server applications.
You're being purposefully obtuse for snark points.
In general, I always try to give the contrarian opinion as it causes an interesting discussion between the community members.
Also, there are some young members here, that might not realize that what we see as "innovation" might happened before (multiple times).
The truth is actually in the middle.
I could care less about the points.
This is why I have beef with docker, it was marketed to solve multiple things, but ultimately it becomes over-glorified zip file. It absolutely fails in reproducibility and I constantly see scenarios where Dockerfile that worked one day broke another day, or it worked on one machine and broke on another and so on.
Yes, you can put extra effort and make your dockerfile reproducible, but similarly you can make a reproducible bash script.
One of the daemonless tools out there now or some interface specifically for Kube will exist as a dependency
This was eliminated way before Docker. Amazon had this problem solved around 2009 when it was not a new thing in the company. LXC also predates Docker. I think you are talking about immutable images that can run on any OS. This is what Docker introduced. This is not as ground breaking as people try to make it, this is why commercial success avoided them at the first place.
Not anymore, over the past couple of years Kubernetes slowly stripped Docker most of its power to the point that Docker can be totally removed from k8s clusters. And this will be widely be the norm in a couple of years or so
> which for most users today still relies on Docker
Was that inaccurate? Are most users manually running Kubernetes clusters with an alternative runtime these days?
It's just a rootfs compressed tarball. Running on top of Linux technology.
Docker was always a brittle tool with lots of limitations and huge compromisses.
Want to ${FOO_PORT:-1234}? Forget about it. Running random stuff as root? Why not?
It also made very easy to consume and produce junk/snowflakes.
Every docker image place its files/configuration/data in a special place. FHS? Who need that?
People have been running, packaging and distributing software more efficiently and more secure way before docker even existed.
Another tool that made existing technology more popular is Kubernetes.
But it did a better job in this "container" space.
You replied by talking about your perceptions of Docker having a bad technical design.
These two points are entirely orthagonal, which is why I'd guess your comment got downvoted.
It is frequently the case that the most popular technology is not the one with the "best" technical design.
For example the popularity of JavaScript or PHP. Neither is one that is regarded generally to have good technical design, however they have had a huge impact.
Thanks for your comment, I appreciate that! Both tools you mentioned are great and kinda relate to this experiment too.
The existence of docker and how it was developed and absorved by people brought nice things too. The kernel had to workout some areas.
The tool itseft is ok. I use something like this:
.
|-- Dockerfile
|-- README.md
`-- rootfs
|-- etc
| `-- sample
| `-- sample.conf
`-- usr
`-- bin
`-- sample
5 directories, 4 filesBut I'm not talking about that.
For me is just interesting, you know, the tool itself doesn't matter, one can do that with any tool.
This experiment was to measure how humans entering an existing field will react... just like language has been shaped.
It was a bit sad that nobody was curious enough to talk about ${FOO_PORT:-1234} and why we should deprecate (links) or about "defaults". It was a success, though.