{
  "id": "docker/overlay2-disk-full",
  "signature": "Error response from daemon: write /var/lib/docker/overlay2/.../merged: no space left on device",
  "signature_zh": "守护进程错误响应：写入 /var/lib/docker/overlay2/.../merged: 设备上没有空间",
  "regex": "no space left on device.*overlay2",
  "domain": "docker",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The filesystem where Docker stores overlay2 layers (usually /var/lib/docker) has run out of disk space.",
  "root_cause_type": "generic",
  "root_cause_zh": "Docker 存储 overlay2 层的文件系统（通常为 /var/lib/docker）磁盘空间已满。",
  "versions": [
    {
      "version": "Docker 24.0.6",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Docker 25.0.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Docker 20.10.24",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Running 'docker system prune' only removes unused containers and images, but may not free enough space if the volume is too small.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Restarting the Docker daemon does not free disk space; it only clears temporary locks.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Free up space: run 'docker system prune -a --volumes' to remove all unused images, containers, and volumes. Then check disk usage with 'df -h /var/lib/docker'.",
      "success_rate": 0.85,
      "how": "Free up space: run 'docker system prune -a --volumes' to remove all unused images, containers, and volumes. Then check disk usage with 'df -h /var/lib/docker'.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Increase disk space by adding a new storage device and moving Docker's data directory: edit /etc/docker/daemon.json with 'data-root': '/new/path', then restart Docker.",
      "success_rate": 0.9,
      "how": "Increase disk space by adding a new storage device and moving Docker's data directory: edit /etc/docker/daemon.json with 'data-root': '/new/path', then restart Docker.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Free up space: run 'docker system prune -a --volumes' to remove all unused images, containers, and volumes. Then check disk usage with 'df -h /var/lib/docker'.",
    "Increase disk space by adding a new storage device and moving Docker's data directory: edit /etc/docker/daemon.json with 'data-root': '/new/path', then restart Docker."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.docker.com/config/pruning/",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2023-09-10",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}