Slow or unreliable Docker image pulls? I built a local proxy with mirror failover and resumable downloads

Ever had a docker pull download most of a large layer, stall, and then fail? Or configured a registry mirror that worked fine last week but now just adds another timeout?

I’m working on oci-mirror-proxy, an open-source tool for Linux Docker Engine users dealing with slow or unreliable access to image registries. I’d love feedback from people who run into this on home servers, development machines, or self-hosted infrastructure.

What it does

It runs locally between Docker Engine and the Registry v2 mirrors you choose. You keep using normal docker pull commands; the proxy handles mirror selection and failures.

  • Failover with circuit breaking: an unresponsive mirror is temporarily taken out of rotation until a health probe succeeds.
  • Resumable layer downloads: if a transfer breaks, the proxy can resume from the same byte offset through another mirror. Docker still verifies the layer digest.
  • Optional request racing: send hedged requests to reduce the time spent waiting on a slow mirror.
  • Runtime mirror management: add, disable, or remove upstreams without restarting Docker Engine.
  • Regional mirror subscriptions: import mirror endpoints from a shared catalog filtered by region, or maintain your own catalog.

It supports both Docker Engine’s containerd image store and the classic storage backend. With the classic backend, mirror integration is limited to Docker Hub.

What it isn’t

It’s not a pull-through cache, doesn’t store image layers locally, and doesn’t support pushes. It also isn’t a way around registry authentication, rate limits, or a mirror provider’s access policies.

The goal is narrower: make better use of the mirrors available to you when some are slow, unreliable, or region-restricted.

There are Linux amd64 and arm64 releases, plus a Docker Compose deployment option. The README covers setup and Docker Engine configuration:

GitHub - runui/oci-mirror-proxy: A local, read-only registry mirror proxy for dockerd. · GitHub

Looking for feedback—and mirrors from more regions

I’m especially interested in hearing:

  • Where do your pulls get stuck: connecting, fetching manifests, or downloading large layers?
  • How do you currently handle mirror failures?
  • Which public mirrors work reliably in your region, and what restrictions do they have?

If you know a useful public mirror, you can open an issue with its endpoint, provider documentation, supported region, and any usage limits. No code contribution needed. PRs to the subscription catalog are welcome too, as are reports of endpoints that no longer work.

If the project looks useful, a GitHub star is appreciated—but real-world feedback and regional mirror contributions would help even more.

What’s your current workaround when a registry mirror becomes the slowest part of docker pull?

I’m adding multi-platform support to it so that Docker Desktop users can also benefit from it. Everyone is welcome to try it out and provide feedback.

We’re excited to announce that we now support mirrors management for Docker Desktop on macOS and Windows! Looking forward to your feedback.