{
  "id": "docker-system-prune-table",
  "kind": "table",
  "slug": "docker-system-prune",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/docker-system-prune/",
  "title": "Docker prune commands (system, image, volume, build cache)",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "docker image prune",
      "source": "Docker docs",
      "detail": "dangling images (untagged and unreferenced)"
    },
    {
      "name": "docker container prune",
      "source": "Docker docs",
      "detail": "all stopped containers"
    },
    {
      "name": "docker volume prune",
      "source": "Docker docs",
      "detail": "anonymous unused volumes; named ones need --all"
    },
    {
      "name": "docker network prune",
      "source": "Docker docs",
      "detail": "networks not used by any containers"
    },
    {
      "name": "docker buildx prune",
      "source": "Docker docs",
      "detail": "build cache for the current builder"
    },
    {
      "name": "docker system prune",
      "source": "Docker docs",
      "detail": "stopped containers, unused networks, dangling images, unused build cache"
    },
    {
      "name": "-a, --all",
      "source": "Docker docs",
      "detail": "remove all unused images, not just dangling ones"
    },
    {
      "name": "--volumes",
      "source": "Docker docs",
      "detail": "prune anonymous volumes"
    },
    {
      "name": "-f, --force",
      "source": "Docker docs",
      "detail": "do not prompt for confirmation"
    },
    {
      "name": "--filter",
      "source": "Docker docs",
      "detail": "filter values such as until=24h or a label"
    }
  ],
  "related_slugs": [
    "docker-volumes",
    "docker-build-cache"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Docker docs); Apache-2.0 (Docker CLI reference); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "fill-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}