{
  "slug": "nerdctl-commit-adds-timeout-for-lease-timeout-669883fce719",
  "title": "nerdctl commit adds --timeout for lease timeout",
  "tools": [
    "nerdctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-30T12:04:04.000Z",
  "announced_at": "2026-10-30T12:04:04.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When committing a container as an image, pass `--timeout` to set the lease timeout.",
    "examples": [
      "nerdctl commit --timeout <duration> <container> [<repository>[:<tag>]]"
    ],
    "gotchas": [
      "Version: v2.4.2",
      "--timeout: Maximum commit duration; Go duration (default 1h). `0` or `0s` uses containerd's default lease expiration (24h)."
    ]
  },
  "why_it_matters": "Set the lease timeout when committing a container as an image.",
  "before": "Use the hard-coded lease timeout of 1h.",
  "sources": [
    "https://github.com/containerd/nerdctl/releases/tag/v2.4.2",
    "https://github.com/containerd/nerdctl/blob/v2.4.2/docs/command-reference.md"
  ],
  "rank": 0.95021,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261030-12",
    "verdict_id": "daily-20261030-12:daily-20261030-12-ed783c2cec565afc-1:gate",
    "evidence_hash": "96f0bdea051e77eafee3501571a1cd22984ee80a5ad7aa4b4e782266a766e2ca"
  }
}
