---
title: "How to delete Docker images on a Mac · Gigamop"
description: "Delete unused Docker images, containers and build cache with docker system prune, keep your volumes, and check your Mac got the space back."
url: https://gigamop.com/guides/delete-docker-images
updated: 2026-10-21
---

# How to delete Docker images on a Mac

3 min read · Updated 21 Oct 2026

## Short answer

```sh
docker system prune -a
```

Removes stopped containers, unused networks, build cache and every image no container uses. Volumes, where databases keep their data, stay unless you add `--volumes`.

## 1. See what’s using space

Shows how much images, containers, volumes and build cache take up, and how much of it Docker can reclaim.

```sh
docker system df
```

## 2. Remove what nothing uses

Docker lists what it will delete and asks first. Leave out `-a` to remove only dangling images, the untagged layers left over from rebuilds.

```sh
docker system prune -a
```

## 3. Or remove a single image

```sh
docker image ls
docker rmi node:18
```

## 4. Check your Mac got the space back

Docker Desktop keeps everything in one disk image, Docker.raw. Finder shows its maximum size, not what it really uses. The first number here is the real size, and it drops within seconds of deleting images.

```sh
ls -klsh ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw
```

With Colima or OrbStack, the docker commands are the same.

## Is it safe?

Images you remove download again on the next pull or build. Stopped containers are deleted, along with anything they wrote outside a volume. Volumes stay unless you pass `--volumes`, so run `docker volume ls` first if you’re unsure.

## Docker on our test Mac

- Colima VM: 11.6 GB
- Last used: 5 Sep 2026
- State: stopped

Gigamop finds stopped Docker, Colima and OrbStack disks and tells you when each was last used. [Download Gigamop for Mac](https://gigamop.com/download/latest), free to scan.

## More guides

- [How to clear the npm cache on a Mac](https://gigamop.com/guides/clear-npm-cache)
- [What’s in System Data on a Mac](https://gigamop.com/guides/mac-system-data)
- [How to remove old git worktrees](https://gigamop.com/guides/remove-git-worktrees)
