Cloud Native 3 min read

Boost Docker on Windows: Easy Guide to Setting Registry Mirrors

This tutorial walks you through configuring Docker on Windows to use a domestic registry mirror, detailing prerequisites, step‑by‑step settings adjustments, and code snippets, so you can overcome slow download speeds and connection issues common in China.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Boost Docker on Windows: Easy Guide to Setting Registry Mirrors

When using Docker on Windows, users in China often face slow download speeds or connection failures. This guide explains how to configure Docker to use a domestic registry mirror, improving download performance.

Docker mirror illustration
Docker mirror illustration

Prerequisites

Ensure Docker for Windows is installed and running.

Steps

Step 1: Open Docker Settings.

Step 2: Select the "Daemon" tab.

Step 3: Add a registry mirror in the JSON editor.

Step 4: Click "Apply & Restart" to save changes.

Step 5: Restart the Docker service.

Step 1: Open Docker Settings

# Open Docker Settings
docker settings

Step 3: Configure the Mirror

{
  "registry-mirrors": [
    "https://registry.docker-cn.com"
  ]
}

Step 5: Restart Docker Service

# Restart Docker Service
docker restart
Note: If you use a proxy or firewall, ensure they are configured correctly to avoid connection issues.

This completes the setup of Docker registry mirrors on Windows, allowing faster image downloads.

Docker mirror configuration screenshot
Docker mirror configuration screenshot
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DevOpsWindowsregistry-mirror
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.