{
  "slug": "nerdctl-events-supports-label-based-filtering-97356c0ceea4",
  "title": "nerdctl events supports label-based filtering",
  "tools": [
    "nerdctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-20T05:01:55.000Z",
  "announced_at": "2026-09-20T05:01:55.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When debugging containers with a specific label, follow the event stream with `nerdctl events --filter label=com.example.app=myapp`. Label filtering is available in nerdctl v2.4.0.",
    "examples": [
      "nerdctl events --filter label=com.example.app=myapp"
    ],
    "gotchas": [
      "Version: v2.4.0",
      "--filter (-f): Filter events by a condition; for this task, use `label=<key>=<value>`.",
      "label=<key>=<value> (required): Match events for containers with the specified label key and value. The value may contain `=` characters.",
      "Prerequisite: Use nerdctl v2.4.0 or later for label-based event filtering.",
      "Prerequisite: This nerdctl release is expected to be used with containerd v1.7 or later; some features may not work with other containerd releases."
    ]
  },
  "why_it_matters": "Follow events for containers with a specific label during debugging.",
  "before": "Before v2.4.0, `nerdctl events` did not support label-based filtering.",
  "sources": [
    "https://github.com/containerd/nerdctl/releases/tag/v2.4.0",
    "https://github.com/containerd/nerdctl/pull/4999",
    "https://github.com/containerd/nerdctl/blob/v2.4.0/pkg/cmd/system/events.go"
  ],
  "rank": 0.97025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-bb062a607fac224b-27:gate",
    "evidence_hash": "89fbd919679ed2949ec61c8062382515fb319dd4be9fdb247a315c9ae6e83512"
  },
  "review": {
    "draft_hash": "7d8a1b723ce8036868b3d3d79ef89e268ee76f813569433f9ff159cec3caabce",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
