Skip to main content

Disk hygiene after 2026-07-13 build drain — MC #105584

Disk hygiene after 2026-07-13 build drain — MC #105584

Book: System Architecture Status: Completed + verified — MC #105584 (2026-07-14)

Why

During MC #105462 the Mac Studio data volume reached 94% capacity with only 53Gi available. Findings pointed to Docker build activity, Gradle dependency/cache growth, and Time Machine/APFS local snapshots pinning deleted blocks.

Baseline

Verified before cleanup:

  • /System/Volumes/Data: 815Gi used / 53Gi avail / 94%
  • Docker: Images 16 / 10.95GB, Local Volumes 40 / 16.71GB, Build Cache 286 / 9.256GB
  • Running Docker containers: 11
  • Local snapshots: 23 Time Machine local snapshots plus 3 OS update snapshots
  • ~/.gradle: 8.4G

Actions

  1. Captured active Docker image allowlist from running containers.
  2. Removed stopped Buildx builders:
    • bilko-manual-web-builder
    • bilko-api-builder
  3. Pruned stopped/unused Docker objects:
    • docker container prune -f
    • docker image prune -a -f
    • docker builder prune -a --filter until=24h -f
    • docker builder prune -a -f
  4. Thinned Time Machine local snapshots:
    • tmutil thinlocalsnapshots / 100000000000 4
  5. Wrote Gradle cache retention policy at:
    • /Users/makinja/system/reports/disk-hygiene-105584/gradle-cache-policy.md

Result

Verified after cleanup:

  • /System/Volumes/Data: 613Gi used / 255Gi avail / 71%
  • APFS container free: 273.9 GB
  • Docker images: 5 / 2.366GB
  • Docker build cache: 0B
  • Docker local volumes: 36 / 5.305GB
  • Remaining Docker containers: 11, all running

What was intentionally not pruned

No blind docker volume prune was run. Remaining reclaimable Docker volumes include service/product data such as LightRAG, monitoring, SonarQube, Documenso, and product DB volumes.

Gradle caches were not deleted because the disk target was already met after snapshot thinning. Policy is to keep modules-2, wrapper/dists, and jdks by default; only ephemeral .tmp, daemon state, and local build-cache entries should be cleaned during routine hygiene.

Evidence

Local evidence directory:

/Users/makinja/system/reports/disk-hygiene-105584/

Important files:

  • baseline-20260714-001538.txt
  • preaction-20260714-001616.txt
  • docker-clean-20260714-001706.txt
  • docker-buildcache-final-20260714-001720.txt
  • snapshot-thin-20260714-001730.txt
  • final-verification-20260714-001928.txt
  • summary.md
  • gradle-cache-policy.md