News for hackers. Stuff that matters.
Re:Please don't upgrade Docker without asking first by lopatin on Monday March 22, 2021 @06:36PM (#26548295)
I'm astonished by the pushback from the Docker devs on this. rflay, ThomasNegeli, and Nuru did heroic work by gently and thoroughly explaining why mandatory, automatic updates are unacceptable for a dev tool. I would not have been so patient.

The fact that they had to hold the maintainers hands through this is disappointing. "it's a feature request not a bug" shows Stephen did not even understand the problem he introduced. Either that, or he didn't read all the comments before him.

Re:Please don't upgrade Docker without asking first by chias on Monday March 22, 2021 @07:21PM (#26548823)
> "it's a feature request not a bug" shows Stephen did not even understand the problem he introduced.

He clarifies a little bit further down the thread:

> It's not a bug because it's working exactly as designed. We're very aware that you regard it as a misdesign.

If a project / community has adopted specific definitions for given words such as "bug", "feature request", etc., then IMO you should not get mad at people for using them as defined.

You may feel strongly that the auto-updating feature is a terrible idea in application, and you may even disagree with this project's decision to define a "bug" as "something that isn't working as designed", and that's fine. But I don't think it suggests that Stephen does not understand the issue, or did not read the thread.

Re:Please don't upgrade Docker without asking first by lopatin on Monday March 22, 2021 @07:27PM (#26548885)
"bug" vs "feature" is a silly debate about semantics until someone uses it as a justification to push back releasing a fix. Bugs get fixed immediately, but feature requests can wait.

And also, who says that mis-designed features aren't bugs? In this case, they designed a bug, and shipped it.

Re:Please don't upgrade Docker without asking first by asidiali on Monday March 22, 2021 @08:11PM (#26549266)
Exactly. The fact they pushed back for this to be fixed under a new feature release vs bug hotfix, is simply salt on the wound.
Re:Please don't upgrade Docker without asking first by jameshart on Monday March 22, 2021 @07:44PM (#26549047)
Introducing an entirely new user-facing dialog option into the upgrade install flow doesn't sound like a 'bug fix' to me in any system. That's completely new UX, localization, security concerns, documentation...

Autoupgrading might totally be a misfeature for your usecase, but it's how this program works. If you don't want it to do that, then uninstall it.

Re:Please don't upgrade Docker without asking first by TheRealSteel on Monday March 22, 2021 @09:38PM (#26549944)
"Just don't use it. Just quit your job, stop paying your rent". This advice is precisely as useful as people that scream "move to Canada" at anyone who suggests we make any political progress.

It benefits everyone if we improve software. It benefits nobody if everyone never reports their problems and simply quietly disappears and quit their job when something in the software they use needs to be fixed -- and I think it's pretty obvious that course of action is unreasonable and unworkable.

Re:Please don't upgrade Docker without asking first by jameshart on Monday March 22, 2021 @10:23PM (#26550273)
I don't understand. We are talking about Docker Desktop for Mac, right? The piece of free-of-charge software that makes it a bit more convenient to use docker (which let's be clear is a Linux tool) from a Mac?

If you don't like the way that convenience is provided to you, then yes, you don't need to use it, and that is not tantamount to telling you to give up and go move to Canada.

The developers have chosen to implement autoupdating.

That meant that in December they pushed a version which had a bug in it, and users received the bugged version. Then they pushed a version with a fix, and users received the version with the fix.

That doesn't seem worth throwing a tantrum over.

Re:Please don't upgrade Docker without asking first by pdimitar on Tuesday March 23, 2021 @03:15PM (#26559102)
Did you read the thread?

- Docker for Mac has no alternative.

- Docker for Mac periodically ships bugs that make the program (and Docker itself) unusable.

- Devs cannot downgrade -- so their workday can be productive and not wasted on fighting with the tool.

You seem to be implying that people are entitled. I suppose technically this can be true but Docker for Mac is viewed as a critical infrastructure and thus people should have venues to make it workable even if the latest version is bugged. They ask for choice and are against force automatic updating to the latest version.

> That doesn't seem worth throwing a tantrum over.

Such emotional reactions cast a doubt on whether you are arguing in good faith.

Re:Please don't upgrade Docker without asking first by asidiali on Monday March 22, 2021 @08:12PM (#26549276)
Implementing new UI required to fix a bug due to functionality oversight, is still a bug.

This broke production environments. That is a bug.

Bugs can introduce new development to meet acceptance criteria, if that is the right way to solve the bug.

Edit: kelnos accurately pointed out that I should have said development environment, and not production.

Re:Please don't upgrade Docker without asking first by kelnos on Monday March 22, 2021 @09:02PM (#26549657)
> This broke production environments.

This broke development environments. I really hope no one is using Docker Desktop running on Mac in production.

Not to trivialize the issue; lost productivity due to a a bug in a software update sucks. But people are not getting irate customer phone calls or losing revenue because of product downtime due to this.

Re:Please don't upgrade Docker without asking first by k_sze on Monday March 22, 2021 @09:31PM (#26549889)
> But people are not getting irate customer phone calls or losing revenue because of product downtime due to this.

It could be an indirect cause of irate calls because there’s a bug in production but the dev environment is broken by Docker’s auto-update so the devs can’t work on a fix for the production bug.

Re:Please don't upgrade Docker without asking first by jackinloadup on Monday March 22, 2021 @10:43PM (#26550412)
Dude! This exactly. Think about having to explain that to NASA. Ahh sorry I can't fix this major SEC issue because our developers can't do a release atm. It went over as well as you'd think. I had to pull out our actual contract to be like "Well... we actually have like 8 days to fix this criticality of SEC so..." Then prayed to Al Gore and Linus Torvalds that what ever this dependency was would be resolved before I got my ass handed to me.
Re:Please don't upgrade Docker without asking first by dragonwriter on Monday March 22, 2021 @11:20PM (#26550663)
> This broke development environments. I really hope no one is using Docker Desktop running on Mac in production.

If it breaks even just my desktop working environment, and that impairs my ability to remediate a production problem, it's causing production downtime. Dev environments aren't decorative.

Re:Please don't upgrade Docker without asking first by asidiali on Monday March 22, 2021 @09:05PM (#26549686)
Good point, thank you for the correction.
Re:Please don't upgrade Docker without asking first by jameshart on Monday March 22, 2021 @08:16PM (#26549306)
No, a bug in the new release that the autodeployer autodeployed was the bug. The autodeployer worked flawlessly.

Presumably it also would flawlessly autodeploy the fix for that bug when it gets released.

Re:Please don't upgrade Docker without asking first by asidiali on Monday March 22, 2021 @08:20PM (#26549333)
> No, a bug in the release...was the bug.

So, there was a bug. A UX bug. Bugs aren’t software-exclusive.

I may be misunderstanding your point.

Re:Please don't upgrade Docker without asking first by pvorb on Monday March 22, 2021 @08:24PM (#26549364)
But still, if there was no bug in 3.0.2, people wouldn't have tried to downgrade to 3.0.1 again. So the bug was not in 3.0.0, nor in 3.0.1, but only in 3.0.2.
Re:Please don't upgrade Docker without asking first by asidiali on Monday March 22, 2021 @08:43PM (#26549504)
So a user experiences a separate bug in 3.0.2, tries to downgrade to 3.0.1, and is unable to as they are re-upgraded right back to 3.0.2. Do you not consider that a new additional bug, that one is unable to downgrade to 3.0.1, a stable build, at that point? I’d argue that’s a new bug that wasn’t previously discovered.
Re:Please don't upgrade Docker without asking first by pvorb on Tuesday March 23, 2021 @07:10AM (#26553594)
To me the question is, if it's still a bug once the original bug in 3.0.2 got fixed. I'd argue no, you might argue yes.

I think auto-upgrades of Docker are totally fine if it makes the lives of Docker devs easier and they can concentrate on more meaningful things. After all, the majority of the user base is not paying a single cent for the software. If a paying customer complains about auto-upgrades and wants to buy into their own support branch, that's a different story.

Re:Please don't upgrade Docker without asking first by asidiali on Tuesday March 23, 2021 @10:21AM (#26555347)
Thanks for elaborating, yes, I think we probably just disagree on that part. What if someone upgrades and they just don’t like the new functionality of 3.0.2 and they want to go back to 3.0.1 just because? This idea that bug-free releases would prevent downgrades is simply unrealistic IMO - as another comment pointed out, why even have versions then?
Re:Please don't upgrade Docker without asking first by pvorb on Tuesday March 23, 2021 @05:00PM (#26560339)
I understand your position, but the example here feels a bit off. If we were talking about an auto-upgrade from 2.x.y to 3.0.0 I'd probably agree with you. For a minor version upgrade maybe, too. But why would I want less bugfixes for the exact same feature set? Yes, there was a bug in a fix. But as soon as that's fixed, everyone should be fine.

I've no idea if Docker's auto-upgrades also include minor an major versions, though.

Re:Please don't upgrade Docker without asking first by asidiali on Tuesday March 23, 2021 @07:15PM (#26561582)
That’s a good point, I think that makes sense. Maybe not a good idea for larger releases like you said, but yeah for bug patches, why wouldn’t I want those. That’s fair.
Re:Please don't upgrade Docker without asking first by lopatin on Monday March 22, 2021 @08:40PM (#26549476)
> people wouldn't have tried to downgrade to 3.0.1 again

What's the point of having versions if you can't install them?

Re:Please don't upgrade Docker without asking first by pvorb on Wednesday March 24, 2021 @02:01AM (#26564056)
There's a point for the developers and to communicate features and bugfixes. And they still help in supporting installations. But you are correct, they become less important. They (patch versions at least) don't necessarily have to be communicated to users.
Re:Please don't upgrade Docker without asking first by lopatin on Monday March 22, 2021 @07:54PM (#26549134)
> but it's how this program works

Or how it doesn't work, in this case.

> If you don't want it to do that, then uninstall it

And use what? There are no alternatives. Should I quit my job while I'm at it? Maybe I can just downgrade it .... oh wait ..

Re:Please don't upgrade Docker without asking first by p1necone on Monday March 22, 2021 @08:00PM (#26549190)
I think that's a silly definition of a bug. If it breaks the product, it's a bug. It doesn't matter if it was created at dev time or design time.

Hell, a huge chunk of dev work is rethinking design decisions that are misguided/under specified/break things because you only see these issues once you start having to implement details.

Re:Please don't upgrade Docker without asking first by dkoala223 on Tuesday March 23, 2021 @11:59AM (#26556560)
similar to "feature not a bug" happened here https://news.ycombinator.com/item?id=26468421 the dev said its not a bug visual impaired users cant see things in his app and went full agressive on people reporting. so hard he blocked any new people from reporting issues too and hid comments/discussion about imrpoving the situation

someone else said "this is how you get forked" and they are right for foss things, but docker isnt so trickier

Re:Please don't upgrade Docker without asking first by arwineap on Tuesday March 23, 2021 @12:32PM (#26556935)
Sure, I don't think they will be able to be forked in the traditional sense, but docker is not the only container runtime.

It would be reasonable for people to build better tooling around rkt, or jump on the podman bandwagon

Re:Please don't upgrade Docker without asking first by danaliv on Monday March 22, 2021 @07:24PM (#26548848)
Seriously. Before I made it to the part where they agreed to stop auto-updating, I was on the third revision/toning-down of the comment I was writing in my head. I get that having multiple versions in the wild makes support more difficult, but what's more important in a dev tool: your support workload, or your users' control over their configuration management?
Re:Please don't upgrade Docker without asking first by kelnos on Monday March 22, 2021 @09:09PM (#26549723)
As someone who maintains an open source development tool that I work on in my spare time and don't get paid for, reducing my support workload is absolutely more important to me. You'd be surprised at the amount of time I waste asking people to try to reproduce an issue on the latest version, and when they do, their issue goes away. Unfortunately an auto-update feature for my tool isn't feasible, but if it were, I'd add it in a heartbeat. If that would turn some people off on it, I'm fine with that.

On a side note, I see plenty of developers click the "Remind Me Later" button over and over and over on the update dialog for their dev tools (and even OS). As a pathological example, I noticed one of my coworkers running a 3-year-old version of IntelliJ IDEA recently when he shared his screen on a Zoom call. But people who don't even install patch updates for months is common as well.

Re:Please don't upgrade Docker without asking first by utborin on Monday March 22, 2021 @09:30PM (#26549882)
That's fine for something a person is working on in their spare time, but when it's a multi-million dollar company whose mission statement is "we simplify the lives of developers who are making world-changing apps," I think it's fair to have different expectations.
Re:Please don't upgrade Docker without asking first by dragonwriter on Monday March 22, 2021 @11:13PM (#26550602)
> As someone who maintains an open source development tool that I work on in my spare time and don't get paid for, reducing my support workload is absolutely more important to me.

Docker Desktop is produced by a for-profit company, and while it is free of charge itself, it is a key customer-facing part of an ecosystem Docker monetizes by selling subscriptions to services which it leverages. It's not some solo developer’s spare time project, and if Docker wants to be a viable business, it won't be treated like one.

Re:Please don't upgrade Docker without asking first by dvfjsdhgfv on Tuesday March 23, 2021 @05:53AM (#26553016)
> On a side note, I see plenty of developers click the "Remind Me Later" button over and over and over on the update dialog for their dev tools (and even OS).

It's not like the developers of some OS-es didn't work hard for users to have this attitude. Nowadays you better wait at least a few days before you give in and agree to update your system, it's just a sane approach to risk control.

Re:Please don't upgrade Docker without asking first by phendrenad2 on Monday March 22, 2021 @06:46PM (#26548425)
This is how you get forked. They're risking the business on some dumb dark pattern here.
Re:Please don't upgrade Docker without asking first by nvllsvm on Monday March 22, 2021 @07:07PM (#26548668)
Unfortunately not straight-forward with Docker Desktop as it's closed-source.

Sure, underlying components are open source, but I've seen no other effort to glue them together in a cohesive, single-purpose package like Docker Desktop.

Re:Please don't upgrade Docker without asking first by eyelidlessness on Monday March 22, 2021 @08:09PM (#26549255)
This is also the kind of thing that drives people to create the alternative.
Re:Please don't upgrade Docker without asking first by kelnos on Monday March 22, 2021 @09:03PM (#26549676)
How is that a dark pattern? Are you going to say that Chrome and Firefox auto-updates are a dark pattern too?

Keeping people on the latest version of your software has very clear benefits to both you and your users. Unfortunately, as we see here, it can also have downsides. Ultimately it's up to the developer to decide what trade off works best for them. Input from users is important, but it's not the users' decision.

Re:Please don't upgrade Docker without asking first by MattGaiser on Monday March 22, 2021 @07:05PM (#26548645)
I wonder if that discussion already occurred in Docker and now they are simply messengers executing something already decided.

I've had the position of saying that something desired will not be done with the only thing I could honestly say without airing private disagreements being "reasons", as the person I was talking to knew I also didn't think it made sense.

Deflecting with vague statements has also been a tactic I have used, hoping that they would not persist.

Re:Please don't upgrade Docker without asking first by NullPrefix on Monday March 22, 2021 @07:26PM (#26548876)
Can't you just give a straight answer saying that the suggested idea will not be considered further due to company policy?
Re:Please don't upgrade Docker without asking first by dmatech on Monday March 22, 2021 @07:38PM (#26548996)
No, because that puts company management in the crosshairs. You don't let some developer do that without first getting the spin machine time to come up with a reason why it's good for the users. Otherwise people question the vendor's ability to provide the product they want.
Re:Please don't upgrade Docker without asking first by edoceo on Monday March 22, 2021 @07:51PM (#26549111)
This whole page is full of folks who are currently questioning the vendors ability (or am I misreading something?). That does seem like a problem that should put focus on the management.
Re:Please don't upgrade Docker without asking first by MattGaiser on Monday March 22, 2021 @08:56PM (#26549601)
> That does seem like a problem that should put focus on the management.

That's what all of us who have ever had to go out and work around annoying decisions want you to realize.

Re:Please don't upgrade Docker without asking first by edoceo on Monday March 22, 2021 @11:29PM (#26550746)
Um, yea. That past realization led to my comment, and my habit of yelling at PHBs in exchange for money (we call it "business consulting")
Re:Please don't upgrade Docker without asking first by MattGaiser on Monday March 22, 2021 @07:45PM (#26549053)
No, as I don't want to deal with the person who made the decision later when someone goes to complain to them instead and they blame me for not obfuscating and pointing the finger at them.
Re:Please don't upgrade Docker without asking first by kenniskrag on Monday March 22, 2021 @07:24PM (#26548853)
it is planned to let the user decide according to the issue.
Re:Please don't upgrade Docker without asking first by kelnos on Monday March 22, 2021 @08:59PM (#26549630)
On the flip side, supporting old versions is often very difficult and time-consuming. For an open-source project I maintain, sometimes I feel like I spend more time asking people to upgrade to the latest version (which often fixes the issue someone has) than I do helping people with legitimate issues. (I exaggerate, but it's a not-insignificant drain on my time.)

If these people are paying for Docker Desktop, then, sure, maybe they're entitled to upgrades and support on their terms. But if they're not, I'm completely sympathetic toward developers trying to reduce their (unpaid) support burden.

Yes, this might turn people off and hinder adoption, but that's their choice to make.

Re:Please don't upgrade Docker without asking first by inshadows on Tuesday March 23, 2021 @03:57AM (#26552250)
Yep. There's a growing desire of even open source projects to shove updates down your throat without any recourse for you as user. I see such software as trojan horse. Developers argue that you need much needed updates with security fixes, etc. Which is of course true. But there's no justification for denying user the freedom of controlling when to update.

EDIT: But seeing this in Docker doesn't surprise me at all. It's this kind of project that knows better than you. Compare this with general purpose tools such as SSH, Git, gcc. There's nothing special about projects like Docker and Snap and they will get eventually replaced by projects that expose more knobs to fit (private) use cases of other users.

Re:Please don't upgrade Docker without asking first by karlshea on Monday March 22, 2021 @09:40PM (#26549958)
I’ve gotten/gave help and lurked on the ddev Slack—Randy Fay has the patience and helpfulness of a saint.