Live data from Hacker News

Docker Hub Is Down

dockerstatus.com

91–100 of 110 posts

Re: Docker Hub Is Down

#91
post #74
post #70

This is one of the reasons I don't want to use docker on production machines and have started to use systemd again!!

Hard to see if this is /s or not. Nobody is forcing you to run images straight from dockerhub lol. Every host keeps the images already on it. Running a in-house registry is also a good idea.

At a reasonably modest scale - running an in-house registry is a polite thing to do for the rest of the internet.

Re: Docker Hub Is Down

#92

Anyone have recommendations for an image cache? Native kubernetes a plus. What would be really nice is a system with mutating admission webhooks for pods which kicks off a job to mirror the image to a local registry and then replaces the image reference with the mirrored location.

Depending on what other (additional) features you're willing to accept, the GoHarbor[0] registry supports pull-through as well as mirroring and other features, it's a nice registry that also supports other OCI stuff like Helm charts, and does vulnerability scanning with "Interrogation Services" like Trivy.

I've been using it at home and work for a few years now, might be a bit overkill if you just want a simple registry, but is a really nice tool for anyone who can benefit from the other features.

[0] https://goharbor.io/

Re: Docker Hub Is Down

#93

Anyone have recommendations for an image cache? Native kubernetes a plus. What would be really nice is a system with mutating admission webhooks for pods which kicks off a job to mirror the image to a local registry and then replaces the image reference with the mirrored location.

CNCF has harbor [0], which I use at home and have deployed in a few clusters at work, and it works well as a pull through cache. In /etc/containers/registries.conf it's just another line below any registry you want mirrored. [[registry]] location = "docker.io" [[registry.mirror]] location = "core.yourharbor.example.com/hub" Where hub is the name of the proxy you configured for, in this case, docker.io. It's not quite…

I would add, for anyone not familiar with it, that this (and more advanced mirroring, etc) is just as easily done from the really nice Web UI (if that's your cup of tea).

Re: Docker Hub Is Down

#94

Was already struggling to do any work today and now my builds aren't working. https://xkcd.com/303/

I had some images in cache, but not all of them, and pull is failing for example, i have redis:7.2-alpine in cache, but not golang:1.24.5-alpine I needed the golang image to start my dev-backend so i replaced FROM golang:1.24.5-alpine with FROM redis:7.2-alpine, and manually installed golang with apk in the redis container :)

You changed your base image and docker build process for a temporary outage? Or do you mean that this in general will be better, as you avoid one in-between image?

Re: Docker Hub Is Down

#95
post #3

I didn't even really realize it was a SPOF in my deploy chain. I figured at least most of it would be cached locally. Nope, can't deploy. I don't work on mission-critical software (nor do I have anyone to answer to) so it's not the end of the world, but has me wondering what my alternate deployment routes are. Is there a mirror registry with all the same basic images? (node/alpine) I suppose the fact that I didn't no…

> I don't work on mission-critical software

> wondering what my alternate deployment routes are

If the stakes are low and you don't have any specific need for a persistent registry then you could skip it entirely and push images to production from wherever they are built.

This could be as simple as `docker save`/`scp`/`docker load`, or as fancy as running an ephemeral registry to get layer caching like you have with `docker push`/`docker pull`[1].

[1]: https://stackoverflow.com/a/79758446/3625

Re: Docker Hub Is Down

#97

Anyone have recommendations for an image cache? Native kubernetes a plus. What would be really nice is a system with mutating admission webhooks for pods which kicks off a job to mirror the image to a local registry and then replaces the image reference with the mirrored location.

You can use Artifactory as a "front" for a variety of registries, including Docker, so it'll pull once and then use its cached image.

Re: Docker Hub Is Down

#98
post #66

Anyone have recommendations for an image cache? Native kubernetes a plus. What would be really nice is a system with mutating admission webhooks for pods which kicks off a job to mirror the image to a local registry and then replaces the image reference with the mirrored location.

We do a local (well, internal) mirror for "all" these things. So, we're basically never stuck. It mirrors our CPAN, NPM, Composer, Docker and other of these web-repos. Helps on the CI tooling as well.

What server do you use?

Re: Docker Hub Is Down

#99

Anyone have recommendations for an image cache? Native kubernetes a plus. What would be really nice is a system with mutating admission webhooks for pods which kicks off a job to mirror the image to a local registry and then replaces the image reference with the mirrored location.

CNCF has harbor [0], which I use at home and have deployed in a few clusters at work, and it works well as a pull through cache. In /etc/containers/registries.conf it's just another line below any registry you want mirrored. [[registry]] location = "docker.io" [[registry.mirror]] location = "core.yourharbor.example.com/hub" Where hub is the name of the proxy you configured for, in this case, docker.io. It's not quite…

Seconding harbor

Re: Docker Hub Is Down

#100

Earlier quoted context omitted.

CNCF has harbor [0], which I use at home and have deployed in a few clusters at work, and it works well as a pull through cache. In /etc/containers/registries.conf it's just another line below any registry you want mirrored. [[registry]] location = "docker.io" [[registry.mirror]] location = "core.yourharbor.example.com/hub" Where hub is the name of the proxy you configured for, in this case, docker.io. It's not quite…

I would add, for anyone not familiar with it, that this (and more advanced mirroring, etc) is just as easily done from the really nice Web UI (if that's your cup of tea).

Yeah, to clarify, I had to first set up /hub as a caching proxy using the UI. Then the above configuration change was what I needed on my nodes in order to transparently use the proxy without changing podspecs.
Post reply on HN