{
  "id": "docker-cache-mounts-table",
  "kind": "table",
  "slug": "docker-cache-mounts",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/docker-cache-mounts/",
  "title": "Speed Docker rebuilds with RUN --mount=type=cache",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "target (also dst)",
      "source": "Docker docs",
      "detail": "Mount path in the build container."
    },
    {
      "name": "id",
      "source": "Docker docs",
      "detail": "Optional ID to identify separate caches. Defaults to target."
    },
    {
      "name": "sharing",
      "source": "Docker docs",
      "detail": "shared (default), private, or locked. A locked mount pauses the second writer until the first one releases the mount."
    }
  ],
  "related_slugs": [
    "docker-build-cache",
    "docker-build-context",
    "docker-multi-stage-builds"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Docker docs); Apache-2.0 (Docker docs); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}