News for hackers. Stuff that matters.
Re:Goodbye Docker: Purging Is Such Sweet Sorrow by meddlepal on Saturday July 27, 2019 @10:56AM (#20542286)
I facepalmed when I read that...

This is an all too common problem in development and it's made me very skeptical of coworkers at times who use it "X technology doesn't work or X is garbage" as a justification to switch technologies or spend time prototyping several alternatives.

I'm not gonna say Docker is a perfect tool by any stretch either.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by justadudeama on Saturday July 27, 2019 @02:00PM (#20543213)
Very true.

I know a lot of people in school who have to use a generally well regarded technology, but hate it because they had to use it in a class. For example, they might see someone on github and go “oh is that github? I hate using git” when in reality they had to use it in a group project with 4 other people who have never used it, and had no understanding of branches, merging, etc.

I have seen the same thing with LaTeX, Python, and Vim.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by neilv on Saturday July 27, 2019 @03:25PM (#20543651)
This same pattern also hurt Scheme's reputation. For a while, when I mentioned I was doing big production work in Scheme, it was ordinary for someone to mention hating it from school.

(ProTip: Maybe you hated it from school because it was used as a tool for teaching theory and beginner stuff, and you were given difficult homework assignments. Maybe you'd like it more if you learned how to use it practically, while you were working on things you actually wanted to do.)

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by fromthestart on Saturday July 27, 2019 @04:11PM (#20543873)
>git...LaTeX, Python, and Vim

To be fair, LaTeX, git, and Vim, beyond shallow use, have fairly steep learning curves and can initially seem like a huge inconvenient mess before one learns, through trial and error, enough of the basics to really unlock enough utility to justify their use.

In a perfect world we'd all first sit down with manuals/tutorials, absorb everything from the getgo, and hack away with bliss; but most people, myself included, do not have enough intrinsic interest to muster the will to sit through documentation while paying enough attention to absorb a bunch of seemingly irrelevant details about some involved tech tool, when we have one simple goal to accomplish now, so instead we piece everything together with a combination of Google searches and keyboard mashing until things work and then optimize on top of that later.

In my experience this can be one of the factors that define a so called 10x dev - the willingness and ability to plod through docs with a genuine interest before using a powerful tool. I imagine such crowd is overrepresented on HN but quite rare in the general population.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by user5994461 on Saturday July 27, 2019 @08:32PM (#20545157)
Really hard to use tools and half obsolete by some metrics.

Vi predates keyboards with arrow keys and numpad. You can do most of what vim can do in any editor if you can use your keyboard effectively. Then there is the question of VI vs VIM. Some schools force students to use VI, which is really a different and antiquated beast.

LaTeX lost a lot of relevance since Office 2010, that added a great equations editor and better handling of sections/subsections.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by tasuki on Sunday July 28, 2019 @02:10PM (#20548936)
You totally can't do "most of what vim can do in any editor if you can use your keyboard effectively". For example: fXctX - find next X on current line, change to next X. You can, fortunately, get a pretty decent vim emulation in various IDEs.

TeX still renders equations better than Office does. Also it's programmable.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by justadudeama on Sunday July 28, 2019 @06:31PM (#20550174)
I totally agree with you. Those are _hard_ tools, and if on top of it you have the attitude of "I am just going to learn this for this class because the teacher told me too", you are definitely going to dislike it.

I think you are spot on with the intrinsic interest.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by jmull on Saturday July 27, 2019 @12:00PM (#20542601)
I think it's valid, if I'm understanding the context.

OP seems to run a lot of infrastructure on his "home servers" not because he directly needs it but as a learning/playground environment.

So here he's chosen to learn about some new tools rather than track-down and fix a misbehaving script. That seems reasonable to me.

(Though, I'm inferring here. If that's really was his thinking was, he could have stated it clearly and prevented the confusion.)

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by Jare on Saturday July 27, 2019 @11:33AM (#20542462)
> I facepalmed when I read that...

I encourage you to read the entire article, so you understand what was his actual thought process deciding to replace docker, and the pros of the new solution.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by gorm on Saturday July 27, 2019 @11:07AM (#20542340)
It was on his home servers and he got a valid point regarding redundant daemon in docker. So I don't understand why you facepalm because its not your business what he runs at home or how he rocks his boat.
Re:Goodbye Docker: Purging Is Such Sweet Sorrow by meddlepal on Saturday July 27, 2019 @11:21AM (#20542403)
I'm facepalming because he literally went through all the effort to replace Docker without fixing the underlying problem which is his script.

At a minimum it means he doesn't understand how his own code works which is going to be problematic if your career involves coding.

The "it's none of your business" argument falls flat the moment you decide to broadcast to the entire world what you're doing and then get it onto a the front page of a website known for debating the content of said articles.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by skybrian on Saturday July 27, 2019 @12:11PM (#20542652)
You should read articles without assuming Hacker News is the intended audience. They usually aren't submitted by the author.
Re:Goodbye Docker: Purging Is Such Sweet Sorrow by toredash on Saturday July 27, 2019 @11:30AM (#20542453)
> I'm facepalming because he literally went through all the effort to replace Docker without fixing the underlying problem which is his script.

Well, he didn't say that the reoccurring problem came back, so maybe it was Docker after all?

Either way, I agree somewhat #facepalm

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by ldng on Saturday July 27, 2019 @02:10PM (#20543266)
No, some container went rogue, and in the process dragged the Docker daemon which annoyed him PLUS he'd learnt that it was possible to run containers rootless and daemonless SO he changed his setup. Please RTFA.
Re:Goodbye Docker: Purging Is Such Sweet Sorrow by UberIsAnnoying on Saturday July 27, 2019 @02:14PM (#20543297)
Re:Goodbye Docker: Purging Is Such Sweet Sorrow by ldng on Saturday July 27, 2019 @04:21PM (#20543940)
Not the default hence not well tested. AND you still have a Docker daemon running. Furthermore, last time I checked, Docker does not support user namespacing in a released version yet.

I maintain the "duh fix your script dummy" is not the right attitude. The author clearly states it's used for a build farm. That is bound to fail ...

I read "Docker daemon was using 100% CPU" to be the recurring incident; not a given script. And when that happens, it ends up cascading and stuff get OOM-killed before you know it.

Re:Goodbye Docker: Purging Is Such Sweet Sorrow by techntoke on Saturday July 27, 2019 @03:43PM (#20543742)
Last I checked it isn't out yet and Podman offers this already.
Re:Goodbye Docker: Purging Is Such Sweet Sorrow by user5994461 on Saturday July 27, 2019 @08:46PM (#20545219)
You missed the point. RedHat has replaced the docker command with their own tool that does the same thing. He's just trying the new tools and it's poorly framed as a deliberate migration. It's not a migration and there is no effort involved. Docker is simply gone, the tools he mention are the new de facto standard and he will have to live with them anyway.