macOS
brew install cdebuglocal Homebrew formula metadata
sudo port install cdebugMacPorts ports tree · sysutils/cdebug/Portfile · source: api.github.com
brew / rank 5958
Swiss army knife of container debugging. Version 0.0.19 via Homebrew; verified 2026-07-27. Also installable with macports: sudo port install cdebug.
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 | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:cdebug |
|---|---|
| Version | 0.0.19 |
| Package manager | Homebrew |
| Homepage | https://iximiuz.com/en/posts/docker-debug-slim-containers/ |
| Repository | https://github.com/iximiuz/cdebug |
| Last updated | 2026-07-27T19:20:57+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.