Skip to content

Pulling user images from DockerHub consistently fails with EOF, but official images and GHCR work fine #2494

@lusu007

Description

@lusu007

Hi Docker Team,

I'm running into a consistent problem when pulling community images from DockerHub (e.g. itzg/minecraft-server).
The downloads frequently fail with:

failed to copy: httpReadSeeker: failed open: failed to do request:
Get "https://production.cloudflare.docker.com/registry-v2/...": EOF

This happens reliably on my freshly installed Windows 11 system (and inside WSL2).

Key points:

  • Official images (alpine, ubuntu, etc.) pull fine.
  • Community images (hosted on DockerHub’s Cloudflare backend) fail mid-download.
  • GHCR mirrors (e.g. ghcr.io/itzg/minecraft-server) pull without any issue.
  • Tested on:
    • Windows 11 (fully updated)
    • Docker Desktop (latest stable)
    • WSL2 (Ubuntu 22.04)
    • Multiple networks (home broadband + mobile hotspot)
  • Certificates and TLS are correct (Root CA store is up-to-date).
  • Tried:
    • Disabling IPv6 in Docker
    • Reducing max-concurrent-downloads to 1
    • Disabling HTTP/2 for containerd
    • Same behavior across all tests

This seems to point to a Cloudflare edge/CDN issue specifically for user images on DockerHub.

Steps to Reproduce:

  1. Fresh Windows 11 install
  2. Install Docker Desktop (latest)
  3. Run docker pull itzg/minecraft-server
  4. Observe the pull failing after downloading a few layers with EOF.

Expected Behavior:

All layers should download and extract successfully.

Actual Behavior:

Download fails mid-layer with EOF even with --max-concurrent-downloads 1.

Additional Info:

  • TLS handshake now succeeds (was a CA store issue at first).
  • curl to the same signed layer URLs succeeds on my Raspberry Pi but fails on Windows with connection reset before Root CAs were updated — after updating CAs I get valid HTTP responses.
  • Reproducible across different networks → not ISP issue.

Environment:

  • Docker Desktop: [paste output of docker version]
  • OS: Windows 11 x64 (latest updates)
  • WSL2: Ubuntu 22.04
  • Network: Tested on LAN + 5G hotspot (same behavior)

Metadata

Metadata

Assignees

Labels

status: needs more infoIssue needs more information, discussion or reproducible example

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions