{"version":"2.1.301","anchor":"docker-detection-short-circuited-cgroup-parsing-and-misc-fi","canonical_anchor":"docker-detection-short-circuited-cgroup-parsing-and-misc-fi","heading":"Fixes to container detection, CPU usage reading and update channel handling","tier":"notice","area":"Environment Detection","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301\/e\/docker-detection-short-circuited-cgroup-parsing-and-misc-fi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301","markdown":"### Fixes to container detection, CPU usage reading and update channel handling\n\nDocker detection can now be skipped by a condition, CPU accounting reads the root path too, and several small fixes landed\n\n**What**\n\nSeveral small changes:\n\n- Docker detection now reports \"not in Docker\" without checking for the `\/.dockerenv` file when a certain internal condition holds.\n\n- Reading CPU usage from Linux cgroups (a Linux feature that groups programs to track their resource use) now returns the path as listed, including the root path `\/`, and no longer reads a value that was never set.\n\n- Tool names in a transcript line now go through a name formatting step.\n\n- How Claude Code works out the Homebrew update channel was rewritten.\n\n- A comparison against a sent value is now protected so that an error counts as a match.\n\n**Why**\n\nThese are small fixes that can change whether Claude Code thinks it is running in a container and how it reports resource use.\n\n- Area: Environment Detection\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}