Live data from Hacker News

We Need to Talk About Docker Hub

linuxserver.io

61–70 of 153 posts

Re: We Need to Talk About Docker Hub

#61
There are a few good reasons to avoid docker hub in production environments:

- free usage is capped and throttled if you exceed download limits.

- some cloud environments don't pay for docker hub access and it's easy to exceed those limits collectively. I've seen that happen on telekom cloud a few times.

- you can configure docker on your machine to use a mirror. For example https://mirror.gcr.io. Or you can setup your own mirror of course. Most cloud environments do this for you.

Using a mirror means you can continue to use images published (by others) to docker hub. And since you don't really have much of a choice about where others publish their images, using a mirror is a good workaround.

IMHO the docker solution of simply prepending images with your registry domain is actually a decent practice. I don't get websites I browse from a central repository either.

For your own stuff, you don't really need to use dockerhub. You can just run your own repository, which isn't that hard or expensive. But of course, an empty repository isn't that useful if you mainly use stuff made by others.

Btw. docker is not unique with having a corporately owned central repository of software. Annoyingly, maven central is run by Sonatype and their process for pushing stuff there is mildly convoluted. It's stupidly easy to use a simple aws or gcp bucket as a maven repository from gradle (I do this for some of my OSS projects). Or any old server with ssh access and a web server. Github also offers repositories for a lot of stuff. But getting your library on maven central just means dealing with their bureaucracy (Jira driven!) and jumping through a lot of hoops. I've been wishing somebody would beat some sense into them or would setup a (vastly) easier to use public repository for years.

It's nice that companies offer public repositories of stuff. But it's inconvenient when they start policing/taxing access to that or put up barriers to get stuff in there. Mainly because they tend to host the vast majority of interesting dependencies that you might want to use.

IMHO the ownership of such central infrastructure ideally moves to some kind of foundation with proper governance rather than some company. For docker that could be the Linux Foundation. It's not clear to me why that responsibility lies with a tiny company for the Java ecosystem that makes a rather convoluted product for hosting jar files which at this point isn't actually that widely used since there are plenty better alternatives. Nothing against them but why delegate such a big responsibility to them?

Re: We Need to Talk About Docker Hub

#62

If you don't like it, then why don't you use a different provider? If you want free stuff, is your strategy to smear them into giving you more free stuff? Storage, compute, and traffic, isn't free. You've been the beneficiary of charity for years. Yes, the open source community has relied on this implicit charity as a parasite, by exploiting whatever free services they could. And now we're paying the price, as you sa…

Here's a tiny bit of missing context. This blog is for LinuxServer.io, who build repositories that produce free docker images, for free, paid for by donations, for a bunch of open source software. By the looks of things, they are literally a charity. Conversely, their complaint is not "aren't docker rubbish? Let's mob 'em" - it's "heads up, something seems to be wrong and docker are not responding to anything, chance…

> If you're reading this and you work for Docker in some relevant capacity, give us a hint as to what we're supposed to do here, we'd really appreciate it.

It sounds to me like their ultimate goal is to get more free stuff.

And I'm saying: open source should not rely on benevolent corporations.

And writing articles to beg for services is not a healthy strategy in the long term.

Instead: use open standards, don't rely on centralized infrastructure, create a marketplace for providers, and create a better future. Stop maintaining the status quo of indentured servitude.

Re: We Need to Talk About Docker Hub

#63
post #51
post #7

Earlier quoted context omitted.

Or run no registry. Here's a port from a Dockerfile to just a vm: FROM Debian CMD apt-get install thing CMD curl blabla/install.sh Pretty much converts to: aws-cli ec2 launch-instance ssh user@server apt-get install thing ssh user@server curl blabla/install.sh In general, everytime you dispense of a high level abstraction, the solution is not to replicate the high level abstraction, but to build directly at a lower l…

We're not talking about Dockerfiles here, but about images from a registry. How many times faster and more reproducible is "docker run myimage:1.0.0" compared to your solution?

The thing with containerization is that it is sometimes used to virtualize an OS and sometimes to virtualize processes.

My containerless worflow, when compared to typical container workflows, usually involves splitting some of the responsibilities to the OS virtualization layer and some to the process layer.

For example, if I have a testing server and a prod server, to test a change I just git push to the testing branch. Which is quite fast and reproducible.

Yes in theory there can be side effects and leftover effects from the previous version, but I am also a competent programmer and have the capacity to ssh into the server to debug, so it's not a huge issue. So bottomline I don't virtualize as often.

To take a wildly different use case of containers, if I want to have two different systems on the same machine, I just run the two different systems as processes? You know there's a process for a sql db and an http server in the server and we are fine. You can even use users for more stringent encapsulation and security guarantees, it's fine.

But since we are talking about registries, I focused on the third distinct use case deployment automation.

The whole details on how to live without docker (and docker registries by extension) won't fit a hacker news comment, but be assured it's 100% possible and you'll be fine.

I'm focusing on docker as a whole because if I can prove that you don't need Docker, by extension I prove you don't need a docker registry. It's an overkill of an argument to show how ridiculous complaining about your free docker registries is. You are out here complaining about a problem with your Docker registries, while I'm a chad who can just axe Docker like it's nothing.

Re: We Need to Talk About Docker Hub

#64
post #22

I don’t understand why companies/people don’t respond. Apply for a job, they talk to you for months and stop suddenly. Go on multiple dates, then the person stops responding. Etc. A simple polite “we’re not moving forward with your application” email is better than silence. How hard can it be to show some basic decency and courtesy?

To some people, rejection is uncomfortable.

And rejection is noisy and wasteful. And companies can't really be honest in this situation anyway, so it's pointless.

So I like the Hollywood approach: Don't call us, we'll call you.

Re: We Need to Talk About Docker Hub

#65
post #43

Earlier quoted context omitted.

> the open source community has relied on this implicit charity as a parasite Very loaded language you use, when, typically, commercial software relies on Open Source software and community efforts as a parasite.

Projection allows one to set the frame of the debate, if you then accuse them of parasitism, it doesn't carry the same weight, as they've already used it against you.

These Docker "parasites" are providing dozens of free containers for Docker's customers and still have the audacity to request an email correspondence about their sponsorship status.

Re: We Need to Talk About Docker Hub

#66
post #55

Earlier quoted context omitted.

I mean, paying for your software dependencies doesn’t automatically make things any better.

It's wild that "people should pay for software" is a controversial statement amongst software developers. If software developer, don't pay for the software you rely on. Then non technical users who appreciate software even less would pay for software with much less frequency and for much lower prices when they do! It is us as developers that need to first institutionalize the idea that software is paid, otherwise we…

There is difference between paying for software and paying for the development of software, you know.

Re: We Need to Talk About Docker Hub

#67
post #53
post #48

Earlier quoted context omitted.

"Just look at how much shorter and nicer the docker example is compared to the VM example." Is this trolling? Who gives a shit? It's 3 lines that will be buried deep in the stack. You can even do it manually Gasp . and write the steps with screenshots in a word document or an email. "lso first example runs locally on any computer with docker or podman or whatever installed, second example exclusively runs on AWS." So…

Really you seem to be the one who's trolling here, or you do not understand why people use containers because you don't have their use case.

There's several use cases to virtualization. You might be under the illusion that you use docker for the same use cases, but you will probably find 3 or 4 use cases if you talk with other users: Deterministic testing, automated deployments, external dependency installation (docker run psql).

Besides the semantic usecases of Docker which can be infinite, technically docker is a virtualization and isolation mechanism. So whatever you do with docker can also be done with type 1, 2 virtualization or even processes and users (hint that's what docker is actually built on). There's plenty of junior programmers that learn to docker run something to isolate it without learning how to isolate with basic user permissions.

So the use case isn't really relevant when I say that you can live without docker.

In general if you ever find yourself complaining about your free stuff, I recommend that you uninstall it to show yourself you don't need it. And then you can reconsider to come back to it again from a place of gratefulness instead of demanding neediness.

Re: We Need to Talk About Docker Hub

#68
post #55

Earlier quoted context omitted.

It's wild that "people should pay for software" is a controversial statement amongst software developers. If software developer, don't pay for the software you rely on. Then non technical users who appreciate software even less would pay for software with much less frequency and for much lower prices when they do! It is us as developers that need to first institutionalize the idea that software is paid, otherwise we…

There is difference between paying for software and paying for the development of software, you know.

Yeah sure, but there's trickle down effects. What incentive would an employer have to hire you to build software, if they can't then go and sell the software that you built for profit.

Re: We Need to Talk About Docker Hub

#69

Earlier quoted context omitted.

You're framing this wrong. They don't whine because they didn't get DSOS status this year. They are confused because they didn't get an answer . They want communication, not free cookies.

> we were preparing for our annual DSOS renewal. This process is abysmal, there's no way to apply to roll over membership, or even a renewal process per se, you have to reapply from scratch every year using the same badly-designed form ... It sounds more to me like those who run DockerHub aren't that interested in giving away free service.

They (Docker) might not be. Docker Hub is their turf, they can do whatever they want (and face the consequences).

However, the post doesn't say that LinuxServer want free service. They say that they had the opportunity, and they try every year. From what I read, they're perfectly fine with a "No, you are not selected this year".

Being decent and being interested in giving a free service are mutually exclusive. You can provide free service while being mean, you can deny people from your free service while being polite.

The people who wrote this post is only interested with the "polite" part. So, they can see what they're at and act accordingly (reapply, pay, or find other alternatives).

Requesting communication is not a bad thing.

Re: We Need to Talk About Docker Hub

#70
post #39

I'm absolutely stunned by all the negative comments in here bashing the Linuxserver project. "Run your own registry", "you get everything for free be grateful", and so on. What the hell is wrong with you? They are a couple of guys trying to make software more accessible to thousands of people. Indeed it's a large project and one may question if they should get _everything_ for free. But that's not the point of this a…

> the absolutely horrendous behaviour

They've ignored their application. That hardly qualifies as "horrendous".

Don't you believe in freedom?

It's fair to criticize them for monopolistic practices and creating a closed ecosystem. But if you want social goods (enforced through social norms), then the company should be publicly owned, not private.

Post reply on HN