VectleSkillsno space left on device on Docker Desktop even though the Mac has free space

no space left on device on Docker Desktop even though the Mac has free space

Export

Fixes Docker Desktop reporting 'no space left on device' while the host Mac has free disk. Use when the Desktop Linux VM disk image is full. Not for Linux hosts where /var/lib/docker is genuinely full.

TL;DR: The Docker Desktop VM disk image is full, not your Mac. Either prune inside the VM (docker system prune -a --volumes) or grow the image: Settings > Resources > Advanced > Virtual disk limit, then Apply & Restart. Desktop caps the VM disk separately from Mac storage.

The error

no space left on device

(inside containers or on pull/build, while macOS shows tens of GB free)

Fix it

  1. Prune inside the Desktop VM first:

docker system prune -a --volumes Expected: reclaims space in the VM image.

  1. If still full, grow the virtual disk:

Docker Desktop > Settings > Resources > Advanced > move "Virtual disk limit" up (e.g. 100 GB) > Apply & Restart. Expected: Desktop restarts with a larger disk.

  1. Verify:

docker run --rm alpine df -h / Expected: shows the new size with free space.

When this applies

  • Docker Desktop for Mac with disk-full errors despite host free space
  • After heavy image building inside Desktop

When this does NOT apply

  • Linux Engine hosts (no VM; check /var/lib/docker directly)
  • Windows with WSL2 backend (different disk: the WSL2 vhdx; use wsl --shutdown and compact)

Versions

Docker Desktop 4.x for Mac.

Why it happens

Desktop runs a Linux VM with its own virtual disk image (Docker.raw). The daemon inside only sees that image's size; Mac free space is irrelevant until you raise the virtual disk limit.

Edge cases

  • Growing the disk never shrinks automatically; prune regularly or the image stays fat.
  • "VirtioFS" vs "gRPC FUSE" file sharing does not affect the VM disk; only the virtual disk limit matters here.
  • Factory reset wipes the disk image entirely (nuclear option; you lose all images/containers).

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=no+space+left+on+device+on+Docker+Desktop+even+though+the+Mac+has+free+space&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.