Docker Mirror Registry

Fast, reliable container image mirroring service

Quick Setup

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<EOF { "registry-mirrors": ["https://hub.040720.xyz"] } EOF
sudo systemctl restart docker

Prefix Replacement Guide

Replace the following registry prefixes in your Docker commands to use our mirror service. This will significantly improve pull speeds and reliability.

Source Registry Mirror Prefix Platform Example
docker.io hub.040720.xyz Docker Hub
docker pull hub.040720.xyz/library/nginx
gcr.io gcr.040720.xyz Google Container Registry
docker pull gcr.040720.xyz/google-containers/pause
ghcr.io ghcr.040720.xyz GitHub Container Registry
docker pull ghcr.040720.xyz/username/image
k8s.gcr.io k8s-gcr.040720.xyz Kubernetes Container Registry
docker pull k8s-gcr.040720.xyz/pause
registry.k8s.io k8s.040720.xyz Kubernetes's container image registry
docker pull k8s.040720.xyz/pause
quay.io quay.040720.xyz Quay Container Registry
docker pull quay.040720.xyz/coreos/etcd
mcr.microsoft.com mcr.040720.xyz Microsoft Container Registry
docker pull mcr.040720.xyz/azure-cognitive-services/vision/spatial-analysis
docker.elastic.co elastic.040720.xyz Elastic Stack
docker pull elastic.040720.xyz/elasticsearch/elasticsearch
nvcr.io nvcr.040720.xyz NVIDIA Container Registry
docker pull nvcr.040720.xyz/nvidia/tensorflow

Usage Guide

Basic Usage

Simply replace the registry prefix in your Docker commands as shown in the examples below:

Original Command Mirror Command
docker pull docker.io/library/nginx docker pull hub.040720.xyz/library/nginx
Original Command Mirror Command
docker pull k8s.gcr.io/pause docker pull k8s-gcr.040720.xyz/pause

Docker Daemon Configuration

For automatic mirroring of Docker Hub images, configure your Docker daemon:

# Create or edit the Docker daemon configuration file sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<EOF { "registry-mirrors": ["https://hub.040720.xyz"] } EOF # Restart Docker to apply changes sudo systemctl restart docker

Troubleshooting

Image not found

If you get a "manifest unknown" or "not found" error, the image may not be cached yet. Try pulling it directly first to trigger caching.

SSL certificate issues

If you encounter SSL errors, ensure your system trusts our certificate authority or use the --insecure-registry flag (not recommended for production).

Service Status

Docker Hub

hub.040720.xyz

Checking status... Pending

Google Registry

gcr.040720.xyz

Checking status... Pending

GitHub Registry

ghcr.040720.xyz

Checking status... Pending

Kubernetes Registry

k8s.040720.xyz

Checking status... Pending

Quay Registry

quay.040720.xyz

Checking status... Pending

Microsoft Registry

mcr.040720.xyz

Checking status... Pending

Elastic Registry

elastic.040720.xyz

Checking status... Pending

NVIDIA Registry

nvcr.040720.xyz

Checking status... Pending

Recent Incidents

Major Outage

2025-04-15

Network connectivity issues caused all mirror services to be unavailable for approximately 45 minutes. Services have been fully restored.

Partial Degradation

2025-04-10

GitHub Container Registry mirror experienced synchronization delays due to API rate limiting. Normal operation resumed after 2 hours.