macOS
brew install cdebuglocal Homebrew formula metadata
sudo port install cdebugMacPorts ports tree · sysutils/cdebug/Portfile · source: api.github.com
brew
Swiss army knife of container debugging. Version 0.0.19 via Homebrew; verified 2026-06-15.
install
brew install cdebuglocal Homebrew formula metadata
sudo port install cdebugMacPorts ports tree · sysutils/cdebug/Portfile · source: api.github.com
overview
Swiss army knife of container debugging
history
cdebug is a Go-based command-line tool for debugging containers and Kubernetes pods, especially slim, scratch, and distroless images that do not include a shell or troubleshooting tools.
The upstream README calls cdebug a 'swiss army knife of container debugging' and documents commands for exec-style debugging, local port forwarding, and exporting or inspecting container filesystems. Its exec workflow is explicitly based on ideas from the iximiuz article about debugging slim Docker containers.
The GitHub releases begin with v0.0.1 on 2022-11-06 and continue through v0.0.19 on 2026-01-18, showing an active small-tool release history around container debugging workflows.
cdebug entered package-manager culture as a modern container-debugging utility rather than a classic Unix tool. The Homebrew input records Homebrew and MacPorts packaging, and the upstream README documents Homebrew installation for macOS and Linux.
Users run cdebug exec against Docker, containerd, nerdctl, or Kubernetes targets to start a temporary debugging sidecar whose tools are available in the target container's filesystem view. The README also documents cdebug port-forward for exposing unpublished or localhost-only container ports.
cdebug is notable because it packages a container namespace trick into a single statically linked binary. It sits in the practical space between docker exec, kubectl debug, nsenter-style debugging, and ad hoc sidecar containers, which makes it attractive to operators dealing with minimal images.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cdebug | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/iximiuz/cdebug
install metadata
| Package key | brew:cdebug |
|---|---|
| Version | 0.0.19 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cdebug |
| Homepage | https://iximiuz.com/en/posts/docker-debug-slim-containers/ |
| Repository | https://github.com/iximiuz/cdebug |
| Upstream docs | https://github.com/iximiuz/cdebug#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/iximiuz/cdebug/archive/refs/tags/v0.0.19.tar.gz |
| Last updated | 2026-06-15T10:20:12-04:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cdebug |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cdebug
sudo port install cdebugsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.