Safe cleanup

Docker Desktop vs. OrbStack on macOS: Reconciling Volumes Safely

How to tell which local container engine owns your Postgres volumes and host disk allocation before retiring an old Docker VM image.

Many Mac developers migrate from Docker Desktop to OrbStack — or run both side by side across different client projects — and end up with a 60 GB Docker.raw file next to an OrbStack VM disk image with no clear view of which engine holds their live databases.

Why container storage numbers rarely match

On macOS, container engines run inside a Linux VM backed by a sparse disk image:

  • Docker Desktop: ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw
  • OrbStack: ~/Library/Group Containers/HUAQ24HBR6.dev.orbstack/data/data.img.raw

Two numbers routinely confuse teams:

  1. Logical VM ceiling vs. host allocation: A sparse Docker.raw can report a 128 GB logical maximum while allocating 42 GB on APFS.
  2. Guest docker system df vs. host file size: Deleting images inside the Linux guest does not always shrink the outer sparse disk image immediately, and shared layers should never be summed as guaranteed free space.

The persistent-volume trap

A stopped Compose stack still owns its named volumes (such as a local Postgres or Redis database). Deleting Docker.raw directly in Finder — or running docker system prune --volumes in the wrong context — destroys persistent data silently.

How DiskWright reconciles both engines

DiskWright's Developer Storage › Containers & Volumes… inspector queries the standard local Docker Desktop and OrbStack Unix sockets read-only without ever switching your active Docker context:

  • Groups running and stopped containers by Compose project label on each engine.

  • Flags duplicate project and volume names that exist on both engines so you never confuse two similarly named Postgres volumes.

  • Shows host VM allocation, logical VM size, and engine-reported usage side by side as separate readings.

  • Protects both VM disk images (and their parent folders) from raw Trash staging, while offering explicit-socket Guided Actions for safe BuildKit cache pruning.

  • Read the DiskWright User Guide

  • Book a Guided Team Storage Review

Written by the DiskWright team. Practical guidance for understanding your Mac’s storage.

Explore DiskWright’s sample demo →