Tooling stack for debug networking and different sql, messaging etc.
558
Portable Docker toolbox for debugging databases, APIs, DNS, Kubernetes, and cloud access from a single container.
docker compose run --rm debugbox
docker compose run --rm debugbox kubectl version --client
docker compose run --rm debugbox aws sts get-caller-identity
docker compose run --rm debugbox dig example.com
The compose file mounts common host config directories read-only when they exist:
~/.aws~/.kube~/.config/gcloudIf you also want OCI config mounted, add this volume to docker-compose.yml:
- ${HOME}/.oci:/root/.oci:ro
Launch an interactive shell directly in your cluster in the service namespace:
kubectl -n service run debugbox \
--image=mattiasholmberg/debugbox:latest \
--restart=Never --rm -it -- bash
Run a one-off command and exit:
kubectl -n service run debugbox \
--image=mattiasholmberg/debugbox:latest \
--restart=Never --rm -it -- dig example.com
The --restart=Never --rm flags ensure the pod is deleted automatically when the session ends.
kubectl get pods -A
psql postgresql://user:pass@host:5432/dbname
mysql -h host -u user -p
mongosh "mongodb://user:pass@host:27017/admin"
redis-cli -h host -p 6379
kcat -b broker:9092 -L
subctl show all
Content type
Image
Digest
sha256:c4070e148…
Size
458.1 MB
Last updated
4 months ago
docker pull mattiasholmberg/debugbox