---
title: "Docker.raw is huge on Mac: how to shrink it safely"
description: "Docker Desktop keeps every container and image in one virtual disk file. Deleting it erases everything. Here’s how to shrink it with Docker’s own tools."
url: https://tidymac.space/learn/docker-raw-mac/
updated: 2026-10-08
---

[Home](/) [Library](/learn/) Docker

# Docker.raw on Mac: why it’s huge and how to shrink it safely

One big virtual disk holding all your Docker containers and images.

Leave aloneTypical size: 10–100 GB on developer MacsUpdated October 8, 2026By the Tidy Mac team

Short answer

Don’t delete Docker.raw; it’s the single virtual disk holding all your Docker containers and images. Shrink it from inside Docker instead: run `docker system prune` (add `-a` to also remove unused images), or use Docker Desktop’s Troubleshoot and disk settings. The file is sparse, so check its allocated size, not its apparent size.

**Skip the manual steps.** Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.

[Download free](/download/TidyMac.dmg)[Buy · $9.99 $29](/buy/)

## The five questions

**What is this?**

One big virtual disk holding all your Docker containers and images.

**Why is it big?**

Images and stopped containers pile up as you work.

**Is it safe to remove?**

Not the file itself; that would erase everything inside Docker.  
**The right way:** Run docker system prune, or use Docker Desktop's cleanup options.

**Our verdict: Leave alone.** Removing this directly can break something. There’s a right way to shrink it.

**How big it gets:** 10–100 GB on developer Macs. The apparent size can be larger than the space really used.

**Where it lives:** `~/Library/Containers/com.docker.docker`

## Do it yourself

Open Terminal and type: docker system prune

```
docker system prune
```

~/Library/Containers/com.docker.docker. The disk file is sparse, so Tidy Mac measures allocated size, not apparent size.

## With Tidy Mac: Docker

Tidy Mac shows the real (allocated) size of the Docker and OrbStack disks in Clean as **Kept**: it never removes them. Shrink them with Docker’s own commands above. Whatever Tidy Mac removes goes to the Trash first, and History lets you undo it.

![](/img/brand/tidy-128.png)

### See your own docker in seconds

See every part of your storage explained, and clear junk to the Trash with Undo. $9.99 $29 once, 2 Macs.

[Download](/download/TidyMac.dmg) [Buy Tidy Mac · $9.99 $29](/buy/)

## Frequently asked questions

Is it safe to delete docker on a Mac?

Not the file itself; that would erase everything inside Docker. Run docker system prune, or use Docker Desktop's cleanup options.

Why are my docker so big?

Images and stopped containers pile up as you work.

How do I clean docker manually?

Open Terminal and type: docker system prune

## Keep reading

[Uninstall Docker Desktop completelyUninstall guide](/uninstall/docker-desktop/)[What is com.docker.docker?Docker Desktop](/folders/com-docker-docker/)[How much storage Apple Intelligence uses on a Mac (and can you remove it?)Library](/learn/apple-intelligence-storage-mac/)[Application Support, Containers and Group ContainersLibrary](/learn/mac-application-support-folder/)[Hidden dot-folders in your Mac home folderLibrary](/learn/hidden-dot-folders-mac-home/)

Share:[X](https://x.com/intent/post?text=Docker.raw%20on%20Mac%3A%20why%20it%E2%80%99s%20huge%20and%20how%20to%20shrink%20it%20safely&url=https%3A%2F%2Ftidymac.space%2Flearn%2Fdocker-raw-mac%2F)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Ftidymac.space%2Flearn%2Fdocker-raw-mac%2F&title=Docker.raw%20on%20Mac%3A%20why%20it%E2%80%99s%20huge%20and%20how%20to%20shrink%20it%20safely)[Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Ftidymac.space%2Flearn%2Fdocker-raw-mac%2F&t=Docker.raw%20on%20Mac%3A%20why%20it%E2%80%99s%20huge%20and%20how%20to%20shrink%20it%20safely)[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftidymac.space%2Flearn%2Fdocker-raw-mac%2F)

#### On this page

[The five questions](#the-five-questions)[Do it yourself](#do-it-yourself)[With Tidy Mac](#with-tidymac)[FAQ](#faq)

**Tidy Mac**

See this on your own Mac in under a minute. $9.99 $29 once, 2 Macs.

[Download](/download/TidyMac.dmg)
