{
  "id": "policy/docker-pull-rate-limit-anonymous",
  "signature": "Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating.",
  "signature_zh": "来自守护进程的错误响应：toomanyrequests：您已达到拉取速率限制。您可以通过身份验证来提高限制。",
  "regex": "toomanyrequests.*You have reached your pull rate limit",
  "domain": "policy",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "Docker Hub enforces pull rate limits (100 pulls per 6 hours for anonymous users, 200 for free authenticated users) which are exceeded.",
  "root_cause_type": "generic",
  "root_cause_zh": "Docker Hub实施拉取速率限制（匿名用户每6小时100次拉取，免费认证用户200次），用户已超过限制。",
  "versions": [
    {
      "version": "Docker Engine 24.0.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Docker Desktop 4.25.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "containerd 1.7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Clearing Docker cache with `docker system prune -a`",
      "why_fails": "Pruning removes cached images but does not reset the rate limit counter; pulling again still counts against the limit.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using a different Docker Hub username without authentication",
      "why_fails": "Anonymous pulls are tracked by IP address, not username; changing usernames has no effect without authentication.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    },
    {
      "action": "Restarting the Docker daemon to reset the counter",
      "why_fails": "The rate limit is enforced server-side by Docker Hub; restarting the daemon does not affect the server's counter.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Authenticate with Docker Hub using `docker login` to get a higher limit (200 pulls per 6 hours) and access to paid plans.",
      "success_rate": 0.9,
      "how": "Authenticate with Docker Hub using `docker login` to get a higher limit (200 pulls per 6 hours) and access to paid plans.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Pull images from a mirror registry like `registry-1.docker.io` or use a proxy cache, e.g., configure `~/.docker/config.json` with `\"registry-mirrors\": [\"https://mirror.gcr.io\"]`",
      "success_rate": 0.8,
      "how": "Pull images from a mirror registry like `registry-1.docker.io` or use a proxy cache, e.g., configure `~/.docker/config.json` with `\"registry-mirrors\": [\"https://mirror.gcr.io\"]`",
      "condition": "",
      "sources": []
    },
    {
      "action": "Upgrade to a Docker Pro or Team subscription for unlimited pulls.",
      "success_rate": 0.95,
      "how": "Upgrade to a Docker Pro or Team subscription for unlimited pulls.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "使用`docker login`进行Docker Hub身份验证，以获得更高的限制（每6小时200次拉取）并访问付费计划。",
    "从镜像注册表拉取镜像，例如`registry-1.docker.io`，或使用代理缓存，例如在`~/.docker/config.json`中配置`\"registry-mirrors\": [\"https://mirror.gcr.io\"]`",
    "升级到Docker Pro或Team订阅以获得无限拉取。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.docker.com/docker-hub/download-rate-limit/",
  "official_doc_section": null,
  "error_code": "toomanyrequests",
  "verification_tier": "ai_generated",
  "confidence": 0.89,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2023-05-01",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}