Bytewell
  • Features
  • Pricing
  • Menu
    • Features
    • Pricing
  • EN
    • English
    • Deutsch
    • Español
    • 日本語
    • Türkçe
    • 简体中文
    • 繁體中文
  • Download
Bytewell›Guides

Docker using too much disk space on a Mac: Docker.raw explained

Updated November 1, 2026

On a Mac, Docker runs inside a virtual machine, and every image, container, volume and build cache lives in that machine's disk: one large file.

The short answer: Docker Desktop's disk is ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw. Don't delete it: free space inside it with docker system df to see what's there and the docker … prune commands to remove it.

On this page

  1. Why does Docker.raw look so huge?
  2. What is using Docker's space?
  3. Which commands free space safely?
  4. Does Docker.raw shrink after pruning?
  5. Can I limit how big Docker gets?
  6. Should I delete Docker.raw?
  7. Where do OrbStack, Colima and Podman keep their disks?

Why does Docker.raw look so huge?

It's a sparse file: Finder shows the size it may grow to (the limit set in Docker Desktop), not what it really uses. To see the real figure:

du -h ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw

What is using Docker's space?

docker system df
docker system df -v

The first command shows images, containers, local volumes and build cache, with how much of each could be reclaimed. The second lists them one by one.

Which commands free space safely?

  • docker builder prune: build cache no build is using. Builds are slower once afterwards.
  • docker image prune: dangling images (untagged leftovers of rebuilds). Add -a to remove every image no container uses; they download again when needed.
  • docker container prune: stopped containers. Anything written inside them, outside a volume, is lost.
  • docker volume prune: unused volumes. Careful: volumes hold databases and other data. In recent versions it removes only anonymous volumes unless you add -a.
  • docker system prune does the first three at once; -a and --volumes make it go further.

Does Docker.raw shrink after pruning?

Usually, yes: because the file is sparse, space freed inside it goes back to macOS, sometimes after a few minutes. Check again with the du command above. If it doesn't, quit and restart Docker Desktop.

Can I limit how big Docker gets?

Yes. In Docker Desktop, open Settings › Resources › Advanced and lower the disk usage limit. Lowering it below what's stored may require resetting Docker's data.

Should I delete Docker.raw?

Only if you want to lose everything in Docker: all images, containers and volumes. Docker Desktop creates an empty one on its next start. Troubleshoot › Clean / Purge data in Docker Desktop does the same, more cleanly.

Where do OrbStack, Colima and Podman keep their disks?

  • OrbStack: under ~/.orbstack (or the data folder chosen in its settings). The same docker commands work against it.
  • Colima: the Lima VM disks under ~/.colima. colima delete removes the whole VM.
  • Podman: machine disks under ~/.local/share/containers/podman/machine; podman system prune frees space inside.

Bytewell shows what every running Docker engine stores, lists images by how much removing each would free, and removes them through Docker itself, never forcing one a container still uses. It also shows each VM disk's real size next to the size it claims.

Download

Guides

  • Claude Code, Codex and Cursor disk usage: what's safe to cleanWhere Claude Code, Codex, Gemini CLI, Cursor and VS Code keep transcripts, worktrees, runtimes and editor state on a Mac, and which of it you can safely remove.
  • Where Ollama, LM Studio and Hugging Face store models on a MacWhere Ollama, LM Studio and Hugging Face keep local AI models on a Mac, how big they get, how to find the same model stored twice, and how to remove them.
  • How to check your Mac's SSD health and wearmacOS only says S.M.A.R.T. Verified. How to read your Mac SSD's real wear (Percentage Used, data written, errors), what the numbers mean, and what wears it out.
  • What is System Data on a Mac, and how do I make it smaller?System Data in Mac storage settings is caches, logs, Time Machine snapshots, swap, iPhone backups, app data and VM disks. What each is and what you can remove.
  • How to find and delete old node_modules folders and package caches on a MacFind every node_modules folder on a Mac with one command, see which package caches (npm, pnpm, Yarn, Homebrew, pip, Go, Gradle) are safe to clear, and how.
  • Videos or GIFs on X are black in SafariVideos and GIFs on X (Twitter) black in Safari while the timer runs, fine in Chrome? Safari's video helper is stuck. Quit Safari with Cmd+Q and reopen it.
  • Xcode taking up too much space: what's safe to deleteWhere Xcode keeps DerivedData, simulators, runtimes, device support and archives on a Mac, which of them rebuild themselves, and how to remove them safely.
Refunds Privacy Terms Contact

Bytewell is made by Axleno.

© 2026 Axleno LLC. All rights reserved.