{
  "slug": "nerdctl-cp-supports-tarballs-4232cf2a8c99",
  "title": "nerdctl cp supports tarballs",
  "tools": [
    "nerdctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-05T11:38:02.000Z",
  "announced_at": "2026-05-05T11:38:02.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When copying a tar archive from the host into a container, stream it to `nerdctl cp` with `-` as the source and a container directory as the destination. The container must be running.",
    "examples": [
      "tar -cf - <host-path> | nerdctl cp - <container>:<destination-directory>"
    ],
    "gotchas": [
      "Version: v2.3.0",
      "nerdctl cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH (required): Copy from the local filesystem or stdin into a container. Use `-` for the tar archive on stdin; the destination must be a directory.",
      "CONTAINER (required): Target container; the command is documented for a running container.",
      "-L, --follow-link: Always follow symbolic links in SRC_PATH.",
      "Prerequisite: nerdctl v2.3.0 or later for the release-added tarball support.",
      "Prerequisite: The target container must be running. Use only with trusted, cooperating containers."
    ]
  },
  "why_it_matters": "Copy files using tarballs with nerdctl.",
  "sources": [
    "https://github.com/containerd/nerdctl/releases/tag/v2.3.0",
    "https://github.com/containerd/nerdctl/blob/v2.3.0/docs/command-reference.md"
  ],
  "rank": 0.95022,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-e01e2103240f1c7b-6:rescue",
    "evidence_hash": "1f620bc0db03585a8ad9978fab1277307c59008f27e3ff5a9b121b41213694ff"
  },
  "review": {
    "draft_hash": "7236076a451b4dc203736d10d958eadfb16a3151feadbe4bfd48618e3510d508",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
