# Install docker-debug with Homebrew

Use new container attach on already container go on debug. Version 0.7.11 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:docker-debug
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install docker-debug
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:docker-debug
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/docker-debug>
- **Version:** 0.7.11
- **Source summary:** Use new container attach on already container go on debug
- **Homepage:** <https://github.com/zeromake/docker-debug>
- **Repository:** <https://github.com/zeromake/docker-debug>
- **Upstream docs:** <https://github.com/zeromake/docker-debug#readme>
- **License:** MIT
- **Source archive:** <https://github.com/zeromake/docker-debug/archive/refs/tags/v0.7.11.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- docker-debug (cli)
- docker-debug (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.7.11
- Local data: ok
- Upstream repository: https://github.com/zeromake/docker-debug
- Upstream latest detected: v0.7.11 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

docker-debug is a small troubleshooting CLI that starts a new debug container joined to a running target container's namespaces, allowing tools to be supplied from a separate image instead of being baked into the production image.

### Project history

The README presents docker-debug as inspired by kubectl-debug and aimed at inspecting running Docker containers by joining PID, network, user, filesystem, and IPC namespaces. It uses nicolaka/netshoot as the default debug image and supports overriding behavior with flags or a local TOML config file.

The changelog shows rapid development in 2019 around mounting filesystems and volumes, adding a Homebrew install path, default config from environment, and config version management. Later entries are sparse, with v0.7.4 in 2022 documenting Docker client-version work and volume path handling.

### Adoption history

Evidence for broad adoption is thin. The project documents Homebrew and binary-release installation, but the upstream materials mostly frame it as a focused utility for users who want Kubernetes-style ephemeral debugging against plain Docker containers.

### How it is used

A typical invocation is docker-debug CONTAINER COMMAND. The tool creates a separate debug container, joins the target container's namespaces, mounts the target filesystem, runs the requested command, and then cleans up after the debug container exits.

### Why package nerds care

docker-debug is interesting to package nerds because it packages an operations pattern rather than a large platform: ship debug tools separately, keep runtime images small, and use Linux namespaces to inspect a live workload. Its niche also makes it a good example of the long tail of Docker-era helper CLIs in Homebrew.

### Timeline

- 2019: early v0.2.x-v0.6.x changelog entries add Homebrew installation, mounted filesystems, volume filesystem support, and config defaults.
- 2020: v0.7.x releases include config client-version and migration fixes.
- 2022: v0.7.4 documents Docker client-version work and volume path support.

### Related projects

- The README names kubectl-debug as the inspiration, nicolaka/netshoot as the default debug image, and Docker Engine API documentation as a reference.

### Sources

- <https://github.com/zeromake/docker-debug#readme>
- <https://github.com/zeromake/docker-debug/blob/master/CHANGELOG.md>
- <https://github.com/zeromake/docker-debug/releases>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** docker-debug
- **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:** head, stable


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cdebug](https://www.automicvault.com/pkg/brew/cdebug/) - Shares av.db curated category or tags: cli, containers, debugging, developer-tools, docker.
- [gebug](https://www.automicvault.com/pkg/brew/gebug/) - Shares av.db curated category or tags: cli, containers, debugging, developer-tools, docker.
- [cekit](https://www.automicvault.com/pkg/brew/cekit/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [devcontainer](https://www.automicvault.com/pkg/brew/devcontainer/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [dockcheck](https://www.automicvault.com/pkg/brew/dockcheck/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker](https://www.automicvault.com/pkg/brew/docker/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker-buildx](https://www.automicvault.com/pkg/brew/docker-buildx/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker-clean](https://www.automicvault.com/pkg/brew/docker-clean/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker-gen](https://www.automicvault.com/pkg/brew/docker-gen/) - Package names and metadata indicate a similar tool family. Shared terms: cli, container, containers, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/docker-debug.yml](https://github.com/automic-vault/db/blob/main/combined/docker-debug.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
